File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -449,7 +449,7 @@ export function Sidebar({
449449 < div
450450 className = { cn (
451451 "overflow-y-auto" ,
452- "grow p-4 md:h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))]" ,
452+ "grow p-4 md:h-[calc(100vh-var(--nextra-navbar-height)-var(--nextra-menu-height))] xl:pl-0 " ,
453453 showSidebar ? "nextra-scrollbar" : "no-scrollbar" ,
454454 ) }
455455 ref = { sidebarRef }
@@ -512,9 +512,7 @@ export function SidebarFooter({
512512 return (
513513 < div
514514 className = { cn (
515- "nextra-sidebar-footer sticky bottom-0" ,
516- "flex items-center gap-2 py-4" ,
517- "mx-3 px-1" , // to hide focused sidebar links
515+ "nextra-sidebar-footer sticky bottom-0 mx-3 flex items-center gap-2 px-1 py-4 xl:-ml-1 xl:mr-0 xl:px-0" ,
518516 showSidebar
519517 ? hasI18n && "justify-end"
520518 : "flex-col flex-wrap justify-center py-4" ,
You can’t perform that action at this time.
0 commit comments