Skip to content

Commit

Permalink
🐛 Fix mobile toc scroll style
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Sep 26, 2023
1 parent 67e9539 commit 1caaf49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function MobileTOCPopdown(): JSX.Element | null {
<div
className={clsx(
ThemeClassNames.docs.docTocMobile,
"navbar-tocpopdown thin-scrollbar",
"navbar-tocpopdown",
shown && "navbar-tocpopdown-open",
)}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
max-height: calc(50vh - 4rem);
width: calc(100% - 2rem);

@apply absolute top-full m-4 z-30 bg-base-100;
@apply shadow-lg rounded-lg border border-base-content/10 overflow-y-auto;
@apply absolute top-full flex flex-col m-4 pt-4 z-30 bg-base-100;
@apply shadow-lg rounded-lg border border-base-content/10;
@apply transition duration-200 ease-in-out origin-top scale-90 opacity-0 pointer-events-none;

&-open {
Expand Down

0 comments on commit 1caaf49

Please sign in to comment.