mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
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:
parent
bd0aa92c4f
commit
551dad7c2c
1 changed files with 9 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue