Skip to content

Commit 41845be

Browse files
committed
Make sidebar nav scrollable separately
1 parent 964dc0b commit 41845be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/docs/navigation.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<div class="hidden lg:block relative z-20 w-[18rem] inset-0 top-24 left-[max(0px,calc(50%-45rem))] right-auto ">
2-
<div class="sticky top-0 w-full border-r border-[#00aaa6] border-opacity-10 dark:border-opacity-90 pt-8 pb-12 pl-4">
1+
<div class="hidden lg:block relative z-20 w-[18rem] inset-0 left-[max(0px,calc(50%-45rem))] right-auto ">
2+
<div class="sticky max-h-screen overflow-y-scroll top-0 w-full border-r border-[#00aaa6] border-opacity-10 dark:border-opacity-90 pt-8 pb-12 pl-4">
33
<nav class="flex flex-col flex-1">
44
{!! $navigation !!}
55
</nav>

0 commit comments

Comments
 (0)