Skip to content

Commit

Permalink
style. 스타일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyu-dev committed Jan 1, 2024
1 parent c3b7ab9 commit d16f825
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/styles/global-style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,36 @@ export const GlobalStyle = createGlobalStyle`
font-family: 'Pretendard', sans-serif;
}
html, body, div#root {
html, body {
height: 100%;
}
body {
background: #f5f5f5;
overflow: hidden;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
#root {
position: relative;
min-width: 360px;
max-width: 390px;
margin: 0 auto;
height: 100vh;
height: 100%;
background: white;
overflow-y: auto;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
box-sizing: border-box;
&::-webkit-scrollbar {
display: none;
}
}
body.swal2-height-auto {
height: 100% !important;
}
*::-webkit-scrollbar {
width: 5px;
height: 5px;
Expand Down

0 comments on commit d16f825

Please sign in to comment.