mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 10:54:06 -06:00
fix: disable view transitions for global graph and adjust graph styles
This commit is contained in:
parent
a723e7458c
commit
a295d46018
@ -11,7 +11,7 @@ const config: QuartzConfig = {
|
|||||||
pageTitle: "Quartz 4",
|
pageTitle: "Quartz 4",
|
||||||
pageTitleSuffix: "",
|
pageTitleSuffix: "",
|
||||||
enableSPA: true,
|
enableSPA: true,
|
||||||
enableViewTransitions: true,
|
enableViewTransitions: false,
|
||||||
enablePopovers: true,
|
enablePopovers: true,
|
||||||
analytics: {
|
analytics: {
|
||||||
provider: "plausible",
|
provider: "plausible",
|
||||||
|
|||||||
@ -1,7 +1,9 @@
|
|||||||
@use "../../styles/variables.scss" as *;
|
@use "../../styles/variables.scss" as *;
|
||||||
|
|
||||||
.graph {
|
.graph {
|
||||||
view-transition-name: graph;
|
&:not(:has(.active)) {
|
||||||
|
view-transition-name: graph;
|
||||||
|
}
|
||||||
|
|
||||||
& > h3 {
|
& > h3 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
@ -66,6 +68,7 @@
|
|||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
height: 80vh;
|
height: 80vh;
|
||||||
width: 80vw;
|
width: 80vw;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
@media all and not ($desktop) {
|
@media all and not ($desktop) {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user