fix: hide vertical nav rail on tablet to avoid duplicate navigation (#40)

This commit is contained in:
WrenIX
2026-03-18 11:07:28 +01:00
committed by GitHub
parent 11a242ba40
commit b668373aa2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -604,7 +604,7 @@ export default function CalendarPage() {
return (
<div className="flex h-screen bg-background">
{/* Left Navigation Rail */}
{!isMobile && (
{!isMobile && !isTablet && (
<div className="w-14 border-r border-border bg-secondary flex flex-col items-center py-3 flex-shrink-0">
<NavigationRail collapsed className="py-0" />
</div>
+1 -1
View File
@@ -430,7 +430,7 @@ export default function ContactsPage() {
return (
<div className="flex h-screen bg-background">
{!isMobile && (
{!isMobile && !isTablet && (
<div className="w-14 border-r border-border bg-secondary flex flex-col items-center flex-shrink-0">
<NavigationRail collapsed />
</div>