fix: disable view transitions for global graph and adjust graph styles

This commit is contained in:
Jairus Joer 2025-10-28 10:19:37 +01:00
parent a723e7458c
commit a295d46018
2 changed files with 5 additions and 2 deletions

View File

@ -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",

View File

@ -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%;