Skip to content

Commit

Permalink
fix: 전체 페이지 스크롤 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
yoouung committed Dec 20, 2024
1 parent 6964df9 commit 4a7451d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function RootLayout({
}>) {
return (
<html lang='kr' className='h-full'>
<body className='h-full flex items-center flex-col'>
<body className='h-full flex items-center flex-col overflow-y-scroll'>
<Header />
<div className='mx-auto flex-1 text-black w-full max-w-[375px]'>
{children}
Expand Down
2 changes: 1 addition & 1 deletion src/app/users/[id]/components/PlaceComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function PlaceComponent({ data }: PlaceData) {
</span>
))}
</div>
<div className='rounded-[20px] mt-[10px] flex gap-[4px] overflow-auto'>
<div className='rounded-[20px] mt-[10px] flex gap-[4px] overflow-x-hidden'>
{data.images.map((image, index) => {
return (
<Image
Expand Down

0 comments on commit 4a7451d

Please sign in to comment.