Skip to content

Commit

Permalink
fix(sidebar): reserve padding for bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerzl committed Oct 1, 2024
1 parent 0cb5165 commit a6aa421
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ watch(
<!-- Sidebar -->
<Sidebar class="top-0 hidden lg:inline-block h-full w-1/6" />
<!-- Main content -->
<ScrollArea class="h-full px-4 lg:px-8 w-full pt-8 mb-24">
<slot />
<ScrollArea class="h-full px-4 lg:px-8 w-full pt-8">
<div class="pb-24">
<slot />
</div>
</ScrollArea>
</div>
</div>
Expand Down

0 comments on commit a6aa421

Please sign in to comment.