Add image scaling and bottom-margin to unitegallery

This commit is contained in:
pikim 2022-12-21 10:17:56 +01:00
parent a43816ecbd
commit 51c781bfd5
2 changed files with 16 additions and 2 deletions

View file

@ -2176,6 +2176,12 @@ ul.posts article header > :last-child {
margin: 0 0 3em 0;
position: relative;
}
.post img {
max-width: 100%;
}
.post .modular-row.gallery-container {
margin-bottom: 2.75rem;
}
.post > header {
display: -moz-flex;
display: -ms-flex;
@ -3125,4 +3131,4 @@ body.is-menu-visible #menu {
#menu > * {
padding: 1.5em;
}
}/*# sourceMappingURL=main.css.map */
}/*# sourceMappingURL=main.css.map */

View file

@ -13,6 +13,14 @@
margin: 0 0 _size(section-spacing) 0;
position: relative;
img {
max-width: 100%;
}
.modular-row.gallery-container {
margin-bottom: 2.75rem;
}
> header {
@include vendor('display', 'flex');
border-bottom: solid 1px _palette(border);
@ -244,4 +252,4 @@
}
}
}
}
}