mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-25 10:13:54 -05:00
docs: adjust sidebar breakpoint to same as navbar (#6471)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Bereket Engida <86073083+Bekacru@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot
Bereket Engida
parent
fd7256014b
commit
ea4a1235d2
@@ -44,7 +44,7 @@ export function DocsLayout({ children, ...props }: DocsLayoutProps): ReactNode {
|
||||
>
|
||||
<div
|
||||
className={cn(
|
||||
"[--fd-tocnav-height:36px] md:mr-[268px] lg:mr-[286px] xl:[--fd-toc-width:286px] xl:[--fd-tocnav-height:0px] ",
|
||||
"[--fd-tocnav-height:36px] navbar:mr-[268px] lg:mr-[286px] xl:[--fd-toc-width:286px] xl:[--fd-tocnav-height:0px] ",
|
||||
)}
|
||||
>
|
||||
<ArticleLayout />
|
||||
|
||||
@@ -38,8 +38,8 @@ export default function ArticleLayout() {
|
||||
<div className={cn("fixed start-0 top-0")}>
|
||||
<aside
|
||||
className={cn(
|
||||
"md:transition-all",
|
||||
"border-r border-lines top-[55px] md:flex hidden md:w-[268px] lg:w-[286px] overflow-y-auto absolute h-[calc(100dvh-55px)] pb-2 flex-col justify-between w-[var(--fd-sidebar-width)]",
|
||||
"navbar:transition-all",
|
||||
"border-r border-lines top-[55px] navbar:flex hidden navbar:w-[268px] lg:w-[286px] overflow-y-auto absolute h-[calc(100dvh-55px)] pb-2 flex-col justify-between w-[var(--fd-sidebar-width)]",
|
||||
)}
|
||||
>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user