diff --git a/src/routes/(DefaultStyle)/+layout.svelte b/src/routes/(DefaultStyle)/+layout.svelte index 89918ed..c6f07c3 100644 --- a/src/routes/(DefaultStyle)/+layout.svelte +++ b/src/routes/(DefaultStyle)/+layout.svelte @@ -51,7 +51,6 @@ display: flex; flex-direction: column; background-color: var(--back-color); - transition: background-color 1s; min-height: 100dvh; } @@ -85,6 +84,8 @@ } main { flex-grow: 1; + background-color: var(--back-color); + transition: background-color 1s; } @media(width<320px) {