Skip to content

Commit

Permalink
Fix top padding on modile
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Aug 11, 2023
1 parent 14455aa commit 3685bce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/scss/_sidebar-tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
}
}

// Handle the case where #content-mobile is displayed with a search box,
// regardless of the value of sidebar_search_disable:
@include media-breakpoint-only(md) {
// Handle cases for tablet (`md`) and mobile (<= `sm`) where the search box is
// displayed regardless of the value of sidebar_search_disable:
@include media-breakpoint-down(lg) {
padding-top: 0 !important;
@supports (position: sticky) {
max-height: $_max-height !important;
Expand Down

0 comments on commit 3685bce

Please sign in to comment.