Skip to content

Commit 5d160a7

Browse files
committed
[style] layout 모바일 대응 추가
1 parent 3b2c40c commit 5d160a7

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function RootLayout({
2525
}>) {
2626
return (
2727
<html lang="ko-KR">
28-
<body className="relative flex flex-col min-h-screen">
28+
<body className="relative flex flex-col min-h-full-screen">
2929
<Provider>
3030
<Header />
3131
<ClientInitHook />

src/shared/styles/_utilities.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,14 @@
127127
.swiper-pagination-bullet-active {
128128
background: var(--color-secondary) !important;
129129
}
130+
131+
.min-h-full-screen {
132+
min-height: 100vh;
133+
min-height: 100svh;
134+
}
135+
136+
.h-full-screen {
137+
height: 100vh;
138+
height: 100svh;
139+
}
130140
}

0 commit comments

Comments
 (0)