diff --git a/src/routes/_layout.svelte b/src/routes/_layout.svelte index b9d0755..97301db 100644 --- a/src/routes/_layout.svelte +++ b/src/routes/_layout.svelte @@ -63,7 +63,6 @@ @@ -122,11 +120,7 @@ -
+
diff --git a/src/style/layouts/_main.scss b/src/style/layouts/_main.scss index 2796bbc..743f496 100644 --- a/src/style/layouts/_main.scss +++ b/src/style/layouts/_main.scss @@ -4,7 +4,7 @@ top: 0; left: 0; width: 100%; - transition: opacity 0.4s $ease-quart; + transition: opacity 0.6s $ease-quart; will-change: opacity; &.is-transitioning { diff --git a/src/utils/Transition.svelte b/src/utils/Transition.svelte index d042c31..4d57617 100644 --- a/src/utils/Transition.svelte +++ b/src/utils/Transition.svelte @@ -36,9 +36,10 @@ }) +{#if show || !process.browser} -{#if !show && process.browser} +{:else}