Skip to content

Commit

Permalink
[J4] Removes fixed max-height on sidebar-nav on wide screen
Browse files Browse the repository at this point in the history
In PR #31092 a fixed height was introduced to the sidebar-nav to fix things on mobile screens (smaller than md).
But this causes a useless scrollbar and height limit on the sidebar nav on wider screens.

So this PR removes it.

Check the styling of the sidebar in the global configuration before and after this PR.
  • Loading branch information
regularlabs committed Apr 11, 2021
1 parent 5012613 commit 93a0e97
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions administrator/templates/atum/scss/blocks/_sidebar-nav.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// Sidebar

.sidebar-nav {

@include media-breakpoint-down(md) {
max-height: 75vh;
overflow-y: scroll;
}
// override bootstrap important
max-height: 75vh;
overflow-y: scroll;
background: var(--atum-sidebar-bg) !important;
box-shadow: $atum-box-shadow;

Expand Down

0 comments on commit 93a0e97

Please sign in to comment.