Skip to content

Commit a6aa421

Browse files
committed
fix(sidebar): reserve padding for bottom
1 parent 0cb5165 commit a6aa421

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

layouts/default.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,10 @@ watch(
8181
<!-- Sidebar -->
8282
<Sidebar class="top-0 hidden lg:inline-block h-full w-1/6" />
8383
<!-- Main content -->
84-
<ScrollArea class="h-full px-4 lg:px-8 w-full pt-8 mb-24">
85-
<slot />
84+
<ScrollArea class="h-full px-4 lg:px-8 w-full pt-8">
85+
<div class="pb-24">
86+
<slot />
87+
</div>
8688
</ScrollArea>
8789
</div>
8890
</div>

0 commit comments

Comments
 (0)