Skip to content

Commit

Permalink
Fix scroll position restoration with ViewTransitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mood93 committed Jan 2, 2025
1 parent cafd20e commit 4dfef3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/DefaultLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ const {
html,
body {
height: 100%;
overflow-x: hidden;
}

body {
display: flex;
flex-direction: column;
color: var(--font-color);
background-color: var(--background);
overflow-x: hidden;

main {
flex: 1 0 auto;
Expand Down

0 comments on commit 4dfef3d

Please sign in to comment.