Skip to content

Commit

Permalink
Fix scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
sant0s12 committed Mar 6, 2024
1 parent d5d7bc8 commit b4cf6d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@
<div class="grid grid-cols-[1fr_min-content_auto_min-content_1fr]">
{#key sidebarOpen}
<div
class="absolute h-full top-0 left-0
class="fixed h-full top-0 left-0
{sidebarOpen ? '' : 'hidden'} w-screen bg-gray-900/80"
in:fade
out:fade
/>
<div
class="h-[calc(100vh-theme(space.16))] max-w-full sm:sticky top-16
overflow-y-auto ml-auto col-start-2 sm:block {sidebarOpen ? '' : 'hidden'} absolute"
class="h-[calc(100vh-theme(space.16))] max-w-full sm:sticky fixed top-16
overflow-y-auto ml-auto col-start-2 sm:block {sidebarOpen ? '' : 'hidden'}"
in:fly={{ opacity: 100, x: -500 }}
out:fly={{ opacity: 100, x: -500 }}
>
Expand Down

0 comments on commit b4cf6d9

Please sign in to comment.