Skip to content

Commit

Permalink
Change the grid for #main as soon as the sidebar collapses
Browse files Browse the repository at this point in the history
  • Loading branch information
HDinger committed Oct 7, 2024
1 parent 88cc0d3 commit 2a5b0ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/global_styles/layout/_base_mobile.sass
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@
padding-left: 15px
padding-right: 15px

#main
grid-template-columns: auto

#breadcrumb,
.hidden-for-mobile
display: none !important
Expand All @@ -66,6 +63,9 @@
display: none !important

@media screen and (max-width: $breakpoint-lg)
#main
grid-template-columns: auto

#content:has(#content-bodyRight > *)
grid-template-columns: 1fr auto

Expand Down

0 comments on commit 2a5b0ac

Please sign in to comment.