Enhance root layout and admin interface for better usability
CI / Backend (build + test) (push) Successful in 1m15s
CI / Frontend (lint + typecheck + build) (push) Successful in 41s

- Updated the root layout to include a mobile menu toggle, improving navigation on smaller screens.
- Refactored navigation links and language/theme selection for better organization and accessibility.
- Added overflow handling for admin navigation and tables to ensure proper display on smaller screens.
- Improved translations for menu toggle accessibility in both Russian and English.
This commit is contained in:
Leonid Pershin
2026-07-02 17:55:33 +03:00
parent ff523d3d5a
commit 85becacea5
7 changed files with 101 additions and 58 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export function DialogContent({ className, children, ...props }: DialogPrimitive
<DialogPrimitive.Overlay className="fixed inset-0 z-50 bg-black/60" />
<DialogPrimitive.Content
className={cn(
'fixed left-1/2 top-1/2 z-50 w-full max-w-md -translate-x-1/2 -translate-y-1/2 rounded-lg border border-border bg-background p-6 shadow-lg',
'fixed left-1/2 top-1/2 z-50 w-[calc(100vw-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 rounded-lg border border-border bg-background p-6 shadow-lg',
className,
)}
{...props}