Skip to content

Commit

Permalink
fix: fix navbar padding for mobile home page
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronchan32 committed Nov 7, 2024
1 parent d8b30d7 commit a806631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ html {
-webkit-text-size-adjust: none;
text-size-adjust: none;
--main-padding: 1.5rem;
--nav-padding: 3.75rem;
--nav-padding: 1.5rem;
// Stide Logo + Gap + DCo Logo + Padding
--nav-height: calc(31px + 1rem + 1.5rem + 2 * var(--nav-padding));

Expand Down
2 changes: 1 addition & 1 deletion src/components/Navbar/Navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
position: fixed;
top: 0;
z-index: 10;
padding: var(--nav-padding);
padding: 2.5rem var(--nav-padding);
display: flex;
justify-content: space-between;
align-items: center;
Expand Down

0 comments on commit a806631

Please sign in to comment.