Skip to content

Commit

Permalink
fix: Fix display of portlets in sections in Mobile mode - MEED-7079 - M…
Browse files Browse the repository at this point in the history
…eeds-io/meeds#2183 (#792)

Prior to this change, the padding on sections plus the margin on
applications inside the section makes the spacing between applications
very large. This change will delete the margin on the last application
of a given section to let the padding of the section applied only.
  • Loading branch information
boubaker committed Jun 17, 2024
1 parent 219ca88 commit aaf4200
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,15 @@
.PORTLET-FRAGMENT {
margin-bottom: ~"var(--grid-layout-gap, 20px)";
}

.flex-cell {
row-gap: 0;
.layout-application {
padding-bottom: 0 !important;
}
> :last-of-type .PORTLET-FRAGMENT {
margin-bottom: 0;
}
}
.layout-section-mobile-pages {
position: relative;
Expand Down

0 comments on commit aaf4200

Please sign in to comment.