Skip to content

Commit

Permalink
fix: Fix Sections Mobile Spacing - MEED-7140 - Meeds-io/meeds#2218 (#145
Browse files Browse the repository at this point in the history
)

This change reworks Sections and applications margins to enhance
maintainability and evolutivity.
  • Loading branch information
boubaker authored Jun 25, 2024
1 parent dcb4ea0 commit 5cdebcc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions layout-webapp/src/main/webapp/skin/less/editor.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@
overflow-y: auto;
overflow-x: hidden;

.PORTLET-FRAGMENT {
margin-bottom: ~"var(--grid-layout-gap, 20px) !important";
.flex-cell:has(.layout-application), .grid-cell:has(.layout-application) {
padding-bottom: ~"var(--grid-layout-gap, 20px)";
}
.flex-cell {
row-gap: 0;
.layout-application {
padding-bottom: 0 !important;
.layout-section-content {
> :last-child {
padding-bottom: 0;
}
}
.hidden-sm-and-down {
Expand Down

0 comments on commit 5cdebcc

Please sign in to comment.