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:
Joél Solano
2025-12-02 10:35:05 -08:00
committed by GitHub
co-authored by Copilot Bereket Engida
parent fd7256014b
commit ea4a1235d2
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 />
+2 -2
View File
@@ -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>