Skip to content

Commit

Permalink
feat: Hide section in Mobile when empty - MEED-7442 - Meeds-io/MIPs#147
Browse files Browse the repository at this point in the history
… (#826)
  • Loading branch information
boubaker authored Sep 10, 2024
1 parent 2f73bd8 commit a66650c
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,6 @@
padding: 0;
.layout-section {
width: 100%;
&:first-of-type {
padding-top: 10px;
}
&:last-of-type {
padding-bottom: 10px;
}
.layout-section-content {
width: @pageWidth;
max-width: 100%;
Expand Down Expand Up @@ -256,6 +250,13 @@

@media (max-width: @maxTabletWidth) {
.VuetifyApp .layout-sections-parent {
.layout-section:not(.hidden-sm-and-down) {
padding-top: 10px;
}
.layout-section:not(.hidden-sm-and-down) ~ .layout-section:not(.hidden-sm-and-down) {
padding-top: 0;
}

.flex-cell:has(.layout-application), .grid-cell:has(.layout-application) {
padding-bottom: ~"var(--grid-layout-gap, 20px)";
}
Expand Down

0 comments on commit a66650c

Please sign in to comment.