Skip to content

Commit

Permalink
website: add header padding
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Oct 23, 2024
1 parent c1ddb61 commit 74242e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/pages/index/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ function Header() {
alignItems: 'center',
justifyContent: 'center',
width: '100%',
backgroundColor: 'var(--bg-color)'
backgroundColor: 'var(--bg-color)',
paddingLeft: 'var(--main-view-padding)',
paddingRight: 'var(--main-view-padding)'
}}
>
<a
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/index/HeaderLayout.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
font-size: 1.4em;
}
}
@container(max-width: 719px) {
@container(max-width: 759px) {
#header-container {
flex-direction: column;
text-align: center;
Expand All @@ -45,7 +45,7 @@
margin-bottom: 10px;
}
}
@container(max-width: 450px) {
@container(max-width: 479px) {
#header-container h1 {
font-size: 2.4em;
}
Expand Down

0 comments on commit 74242e1

Please sign in to comment.