Skip to content

Commit

Permalink
mobile menu padding
Browse files Browse the repository at this point in the history
  • Loading branch information
simeydotme committed Sep 8, 2023
1 parent a45a8a6 commit 5d62dc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/components/Footer/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,4 @@ const { path } = Astro.props
padding: 2rem;
border-top: 3px solid var(--theme-divider);
}
@media (max-width: 49.999em) {
footer {
padding: 2rem 2rem calc( var(--theme-navbar-height ) + 2rem);
}
}
</style>
4 changes: 2 additions & 2 deletions src/components/LeftSidebar/LeftSidebar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ const sidebar = SIDEBAR[langCode]
overflow-x: visible;
overflow-y: auto;
max-height: 100vh;
max-height: 100dvh;
}

.nav-groups > li + li {
margin-top: 2rem;
}

.nav-groups > :last-child {
padding-bottom: 2rem;
margin-bottom: var(--theme-navbar-height);
padding-bottom: calc( 2rem + var(--theme-navbar-height) );
}

.nav-group-title {
Expand Down

0 comments on commit 5d62dc9

Please sign in to comment.