Skip to content

Commit

Permalink
fix: 스크롤 높이 변경 & 전체 스크롤 고정
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeyeonan committed Sep 25, 2023
1 parent 089d3a6 commit b0bcc04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<div id="root" style="position: fixed; overflow: hidden"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
Expand Down
2 changes: 1 addition & 1 deletion src/assets/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const EntireContainer = styled.div<{
padding: ${({ padding }) => (padding ? padding : '25px 30px')};
background: ${({ background }) => (background ? background : Palette.White)};
height: ${({ homebar }) =>
homebar ? 'calc(100dvh - 140px)' : 'calc(100dvh - 60px)'};
homebar ? 'calc(100dvh - 130px)' : 'calc(100dvh - 60px)'};
overflow: auto;
&::-webkit-scrollbar {
Expand Down

0 comments on commit b0bcc04

Please sign in to comment.