mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-25 00:22:43 -05:00
docs: removed 1px from headerbar height variable. (#2391)
* fix(docs): removed 1px from headerbar height variable. * fix(docs): fixed sidebar height issue and made it pixel perfect * fix(docs): fixed scroll bumping issue when scrolling the from top * fix(docs): fixed scroll bumping issue when scrolling the from top
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
@source '../../node_modules/fumadocs-ui/dist/**/*.js';
|
||||
@source '../node_modules/fumadocs-ui/dist/**/*.js';
|
||||
:root {
|
||||
--fd-nav-height: 57px;
|
||||
--fd-nav-height: 56px;
|
||||
|
||||
--background: oklch(1 0 0);
|
||||
|
||||
@@ -241,7 +241,7 @@
|
||||
@apply border-border outline-ring/50;
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground;
|
||||
@apply bg-background text-foreground overscroll-none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ export default function ArticleLayout() {
|
||||
<aside
|
||||
className={cn(
|
||||
"md:transition-all",
|
||||
"border-r border-lines md:flex hidden md:w-[268px] lg:w-[286px] overflow-y-auto absolute top-[58px] h-[92dvh] flex-col justify-between w-[var(--fd-sidebar-width)]",
|
||||
"border-r border-lines md:flex hidden md:w-[268px] lg:w-[286px] overflow-y-auto absolute top-[57px] h-[calc(92dvh--7px)] flex-col justify-between w-[var(--fd-sidebar-width)]",
|
||||
)}
|
||||
>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user