Skip to content

Commit

Permalink
fix: Proper mobile navbar layouting
Browse files Browse the repository at this point in the history
  • Loading branch information
HanzCEO committed May 6, 2024
1 parent 3fbb116 commit 58f10b4
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/styles/components/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
height: 100%;
z-index: 2;
background: var(--secondary-text);
padding: 1rem;
padding: 0 1rem;
}

.navbar__navbar.secondary .navbar__linksWrapper {
Expand All @@ -88,15 +88,23 @@
display: flex;
flex-direction: column;
justify-content: flex-start;
gap: 1rem;
}

.navbar__linksWrapper > * {
height: min-content !important;
padding: 1rem 1rem;
padding: 1rem 0;
width: 100%;
}

.navbar__linksWrapper > a {
padding: 1rem 0;
}

.navbar__linksWrapper > button {
margin: 0;
margin-top: 1rem;
}

.navbar__mobile__close {
display: flex;
justify-content: flex-end;
Expand Down

0 comments on commit 58f10b4

Please sign in to comment.