Skip to content

Commit

Permalink
🔧 중첩된 overflow옵션 제거, 인터뷰 컴포넌트에 overflow-x 옵션 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-angelo committed Aug 5, 2024
1 parent 5efa068 commit 59ff178
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/Interview/Interview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ const Interview: React.FC<IInterview> = ({ subtitle, title, interviews, style })
const InterviewWrapper = styled.div`
display: flex;
flex-direction: column;
overflow-x: hidden;
@media ${({ theme }) => theme.device.mobile} {
margin-bottom: 12rem;
align-items: space-between;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const MainPage: React.FC = () => {
return (
<GlobalTheme>
<GlobalHeader title={SEO_TITLE.MAIN} description={SEO_DESCRIPTION.MAIN} url={INTERNAL.MAIN} />
<main style={{ overflowX: "hidden" }}>
<main>
<HomeGlobalNavigationBar {...{ bannerStatus }} />
{bannerStatus && <Banner {...{ bannerStatus, setBannerStatus }} />}
<Welcome />
Expand Down

0 comments on commit 59ff178

Please sign in to comment.