Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎨 스타일 수정 #70

Merged
merged 3 commits into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/>
<link rel="icon" href="%PUBLIC_URL%/blacklogo.png" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/blacklogo.png" />
<link rel="shortcut icon" href="%PUBLIC_URL%/blacklogo.png" />
<meta name="apple-mobile-web-app-title" content="Readbird" />
<meta name="theme-color" content="#000000" />
<meta name="Keywords" content="읽어보새" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ export const SearchMain = () => {
dangerouslySetInnerHTML={{
__html: `<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1919598055512436"
crossorigin="anonymous"></script>
<!-- contents/364x66 -->
<!-- contents/336x66 -->
<ins class="adsbygoogle"
style="display:inline-block;width:364px;height:66px"
style="display:inline-block;width:336px;height:66px"
data-ad-client="ca-pub-1919598055512436"
data-ad-slot="3745103035"></ins>
<script>
Expand Down Expand Up @@ -106,6 +106,7 @@ const Wrap = styled.div`
`;

const BannerWrap = styled.section`
width: 100%;
height: 66px;
border-radius: 20px;
background-color: ${({ theme }) => theme.colors.lightGray};
Expand Down
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
Loading