Skip to content

Commit 641fff0

Browse files
authored
fix: MobileLayout 오류수정
fix: MobileLayout 오류수정
1 parent 703fb74 commit 641fff0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/layout/MobileLayout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ const MobileLayout: React.FC<Props> = ({ children }) => {
1313
className="mx-auto bg-mainBlack"
1414
style={{
1515
width: width > 480 ? '395px' : '100%', // PC에서는 고정, 모바일에서는 꽉 차게
16-
height: height,
16+
height: '100vh',
17+
overflowY: 'auto',
1718
}}
1819
>
1920
{children}
2021
</div>
2122
)
2223
}
2324

24-
export default MobileLayout
25+
export default MobileLayout

0 commit comments

Comments
 (0)