Skip to content

Commit 3685bce

Browse files
committed
Fix top padding on modile
1 parent 14455aa commit 3685bce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assets/scss/_sidebar-tree.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
}
2727
}
2828

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

0 commit comments

Comments
 (0)