Merge pull request #21518 from overleaf/jel-template-title

[web] Badges inline with last line of title on template page

GitOrigin-RevId: cdaa7fd6dbaa2a37f3f60a17be280c3b92dac695
This commit is contained in:
Jessica Lawshe 2024-11-05 09:25:30 -06:00 committed by Copybot
parent bd0aa92c4f
commit 551dad7c2c

View file

@ -307,15 +307,21 @@
} }
.gallery-item-title { .gallery-item-title {
display: inline-flex; * {
gap: var(--spacing-06); vertical-align: middle;
}
h1 { h1 {
display: inline;
margin: unset; margin: unset;
} }
h1:has(+ .gallery-item-title-badge-container) {
margin-right: var(--spacing-06);
}
.gallery-item-title-badge-container { .gallery-item-title-badge-container {
display: flex; display: inline-flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
gap: var(--spacing-04); gap: var(--spacing-04);