Merge pull request #21445 from overleaf/jel-tagged-gallery-spacing

[web] Spacing updates on the tagged gallery page

GitOrigin-RevId: 0c51dbc820cf4e6e90487b01e5ae1862e00d7b17
This commit is contained in:
Jessica Lawshe 2024-10-29 09:16:19 -05:00 committed by Copybot
parent ae9ba2b775
commit 8f56f39ec8

View file

@ -14,15 +14,15 @@
margin-top: var(--spacing-06); margin-top: var(--spacing-06);
} }
} }
h2 {
margin-top: 0;
}
} }
.gallery { .gallery {
margin-top: var(--spacing-10); margin-top: var(--spacing-10);
.gallery-tagged-container-spacing {
padding: 0 var(--spacing-09);
}
.gallery-tagged-tags-container-spacing { .gallery-tagged-tags-container-spacing {
padding: 0 var(--spacing-09); padding: 0 var(--spacing-09);
margin-bottom: var(--spacing-16); margin-bottom: var(--spacing-16);
@ -62,6 +62,8 @@
} }
.gallery-header { .gallery-header {
margin-bottom: var(--spacing-09);
@include media-breakpoint-up(lg) { @include media-breakpoint-up(lg) {
max-width: $templates-search-max-width; max-width: $templates-search-max-width;
display: flex; display: flex;
@ -85,12 +87,16 @@
@include body-lg; @include body-lg;
text-align: center; text-align: center;
margin-bottom: var(--spacing-09); margin-bottom: 0;
}
.tagged-header-container {
margin-bottom: var(--spacing-16);
} }
.top-picks-banner { .top-picks-banner {
padding: 0; padding: 0;
margin: var(--spacing-16) auto; margin: 0 auto var(--spacing-16) auto;
h2 { h2 {
@include heading-xl; @include heading-xl;