Revert "feat(ui): make dashboard responsive for iPhone and mobile devices"

This reverts commit d3b326e.

The deployment caused reports of blank screens and 400 errors. Reverting to restore stable state while investigating root cause.
This commit is contained in:
Horux Dev
2026-06-13 20:16:04 +00:00
parent d3b326e78c
commit 66d68c652c
21 changed files with 54 additions and 365 deletions

View File

@@ -32,30 +32,24 @@ export function Header({ title, children }: HeaderProps) {
};
return (
<header className="sticky top-0 z-30 border-b bg-background/95 backdrop-blur">
<div className="flex h-auto min-h-16 flex-col gap-3 px-4 py-3 md:flex-row md:items-center md:justify-between md:px-6 md:py-0">
{/* Title section */}
<div className="flex items-center gap-4 min-w-0">
<h1 className="text-lg font-semibold truncate md:text-xl">{title}</h1>
{children}
</div>
<header className="sticky top-0 z-30 flex h-16 items-center justify-between border-b bg-background/95 backdrop-blur px-6">
<div className="flex items-center gap-4 min-w-0">
<h1 className="text-xl font-semibold whitespace-nowrap">{title}</h1>
{children}
</div>
{/* Actions section */}
<div className="flex flex-wrap items-center gap-2 md:gap-3">
<div className="flex flex-1 items-center gap-2 min-w-0 md:flex-initial md:gap-3">
<ContribuyenteSelector />
<MembershipSwitcher />
<TenantSelector />
</div>
<Button
variant="ghost"
size="icon"
onClick={cycleTheme}
title={`Tema: ${themes[theme].name}`}
>
{themeIcons[theme]}
</Button>
</div>
<div className="flex items-center gap-3">
<ContribuyenteSelector />
<MembershipSwitcher />
<TenantSelector />
<Button
variant="ghost"
size="icon"
onClick={cycleTheme}
title={`Tema: ${themes[theme].name}`}
>
{themeIcons[theme]}
</Button>
</div>
</header>
);