adjustments to mobile header css closes #1930

This commit is contained in:
miloschwartz
2025-12-23 13:57:44 -05:00
parent 2652dea09a
commit ef697c4864
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ export async function Layout({
<div <div
className={cn( className={cn(
"container mx-auto max-w-12xl mb-12", "container mx-auto max-w-12xl mb-12",
showHeader && "md:pt-16" // Add top padding only on desktop to account for fixed header showHeader && "pt-16 md:pt-16" // Add top padding on mobile and desktop to account for fixed header
)} )}
> >
{children} {children}

View File

@@ -48,7 +48,7 @@ export function LayoutMobileMenu({
const t = useTranslations(); const t = useTranslations();
return ( return (
<div className="shrink-0 md:hidden"> <div className="shrink-0 md:hidden fixed top-0 left-0 right-0 z-50 bg-card border-b border-border">
<div className="h-16 flex items-center px-2"> <div className="h-16 flex items-center px-2">
<div className="flex items-center gap-4"> <div className="flex items-center gap-4">
{showSidebar && ( {showSidebar && (