mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
fix: height styling on toc
This commit is contained in:
@@ -116,7 +116,7 @@ export function DocContainer({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{(kind === 'Class' || kind === 'Interface') && (methods?.length || properties?.length) ? (
|
{(kind === 'Class' || kind === 'Interface') && (methods?.length || properties?.length) ? (
|
||||||
<aside className="h-[calc(100vh - 72px)] dark:bg-dark-600 dark:border-dark-100 border-light-800 fixed top-[72px] right-0 bottom-0 z-20 hidden w-64 border-l bg-white pr-2 xl:block">
|
<aside className="dark:bg-dark-600 dark:border-dark-100 border-light-800 fixed top-[72px] right-0 bottom-0 z-20 hidden h-[calc(100vh_-_72px)] w-64 border-l bg-white pr-2 xl:block">
|
||||||
<Scrollbars
|
<Scrollbars
|
||||||
autoHide
|
autoHide
|
||||||
hideTracksWhenNotNeeded
|
hideTracksWhenNotNeeded
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ export function SidebarLayout({
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<nav
|
<nav
|
||||||
className={`h-[calc(100vh - 73px)] dark:bg-dark-600 dark:border-dark-100 border-light-800 fixed top-[73px] left-0 bottom-0 z-20 w-full border-r bg-white ${
|
className={`dark:bg-dark-600 dark:border-dark-100 border-light-800 fixed top-[73px] left-0 bottom-0 z-20 h-[calc(100vh_-_73px)] w-full border-r bg-white ${
|
||||||
opened ? 'block' : 'hidden'
|
opened ? 'block' : 'hidden'
|
||||||
} lg:w-76 lg:max-w-76 lg:block`}
|
} lg:w-76 lg:max-w-76 lg:block`}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user