Skip to content

Commit

Permalink
chore/sidebar--avoid-overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosai106 authored Sep 22, 2024
1 parent 736fc82 commit 773314d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/core/layouts/SidebarLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ function Nav({nav, children, fallbackHref, toc}) {
<div
id="navWrapper"
onClick={(e) => e.stopPropagation()}
className="h-full scrolling-touch lg:h-auto lg:block lg:sticky lg:bg-transparent overflow-hidden lg:top-18 bg-white dark:bg-purple-deep mr-24 lg:mr-0"
className="h-full mb-px scrolling-touch lg:h-auto lg:block lg:sticky lg:bg-transparent overflow-hidden lg:top-18 bg-white dark:bg-purple-deep mr-24 lg:mr-0"
>
<div className="absolute bg-gradient-to-b from-white dark:from-purple-deep h-12 lg:block pointer-events-none w-full z-10"></div>
<nav
id="nav"
ref={scrollRef}
className="px-1 mb-px bg-white dark:bg-purple-deep font-medium text-base sm:px-3 xl:px-5 pb-10 lg:pb-16 sticky?lg:h-(screen-18) lg:overflow-y-auto"
className="px-1 bg-white dark:bg-purple-deep font-medium text-base sm:px-3 xl:px-5 pb-10 lg:pb-16 sticky?lg:h-(screen-18) lg:overflow-y-auto"
>
<ul className="space-y-16 mt-10">
{children}
Expand Down

0 comments on commit 773314d

Please sign in to comment.