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",
|
||||
pageTitleSuffix: "",
|
||||
enableSPA: true,
|
||||
enableViewTransitions: true,
|
||||
enableViewTransitions: false,
|
||||
enablePopovers: true,
|
||||
analytics: {
|
||||
provider: "plausible",
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
@use "../../styles/variables.scss" as *;
|
||||
|
||||
.graph {
|
||||
view-transition-name: graph;
|
||||
&:not(:has(.active)) {
|
||||
view-transition-name: graph;
|
||||
}
|
||||
|
||||
& > h3 {
|
||||
font-size: 1rem;
|
||||
@ -66,6 +68,7 @@
|
||||
transform: translate(-50%, -50%);
|
||||
height: 80vh;
|
||||
width: 80vw;
|
||||
overflow: hidden;
|
||||
|
||||
@media all and not ($desktop) {
|
||||
width: 90%;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user