Skip to content

Commit 844ca03

Browse files
committed
fix: 데스크탑, 태블릿 상단네비게이션 2단으로 압축
1 parent 2596c5f commit 844ca03

4 files changed

Lines changed: 253 additions & 182 deletions

File tree

src/app/(main)/auction-history/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ export default function Page() {
457457
</svg>
458458
</button>
459459
{isSortDropdownOpen && (
460-
<div className="absolute top-full right-0 mt-2 bg-white rounded-xl border border-[var(--color-ds-neutral-tone)] shadow-[0_8px_24px_rgba(62,43,32,0.08)] py-2 z-50 min-w-[180px]">
460+
<div className="absolute top-full right-0 mt-2 bg-white rounded-xl border border-[var(--color-ds-neutral-tone)] py-2 z-50 min-w-[180px]">
461461
{[
462462
{ label: "거래 최신순", sortBy: "dateAuctionBuy", direction: "desc" as const },
463463
{ label: "거래 오래된순", sortBy: "dateAuctionBuy", direction: "asc" as const },

src/app/(main)/layout.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ export default function RootLayout({
1111
{/* 3-Tier Navigation */}
1212
<ThreeTierNav />
1313

14-
{/* Main Content - pt-[142px] for full nav (48+49+44+1), transitions to pt-[94px] on scroll */}
15-
<main className="flex-1 pt-[142px]">
14+
{/* Main Content
15+
Mobile: pt-[142px] for full nav (48+49+44+1)
16+
Desktop/Tablet: pt-[102px] for compact nav (56+44+2) */}
17+
<main className="flex-1 pt-[142px] md:pt-[102px]">
1618
<div className="max-w-7xl w-full mx-auto h-full px-4 md:px-6 py-6 md:py-8">
1719
{children}
1820
</div>

0 commit comments

Comments
 (0)