Skip to content

Commit b668373

Browse files
authored
fix: hide vertical nav rail on tablet to avoid duplicate navigation (#40)
1 parent 11a242b commit b668373

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/[locale]/calendar/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ export default function CalendarPage() {
604604
return (
605605
<div className="flex h-screen bg-background">
606606
{/* Left Navigation Rail */}
607-
{!isMobile && (
607+
{!isMobile && !isTablet && (
608608
<div className="w-14 border-r border-border bg-secondary flex flex-col items-center py-3 flex-shrink-0">
609609
<NavigationRail collapsed className="py-0" />
610610
</div>

app/[locale]/contacts/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ export default function ContactsPage() {
430430

431431
return (
432432
<div className="flex h-screen bg-background">
433-
{!isMobile && (
433+
{!isMobile && !isTablet && (
434434
<div className="w-14 border-r border-border bg-secondary flex flex-col items-center flex-shrink-0">
435435
<NavigationRail collapsed />
436436
</div>

0 commit comments

Comments
 (0)