Skip to content

Commit

Permalink
Fix the scrolling-away of the top toolbar
Browse files Browse the repository at this point in the history
The height of the ContentLayout's container needs to match the height of its children for overscrolling and sticky behaviors to work as intended. It also needs to have a minimum of 100% so that it fills the height of its parent.
  • Loading branch information
allanlasser committed May 3, 2024
1 parent 7288bbc commit ae05871
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/components/layouts/ContentLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
align-self: stretch;
position: relative;
width: 100%;
height: fit-content;
min-height: 100%;
}
header {
flex: 0 0 0;
Expand Down

0 comments on commit ae05871

Please sign in to comment.