mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 16:21:11 +00:00
fix(skinning): 🐛 only apply top margin to figcaption when it is not empty
This commit is contained in:
parent
232fd0cc4b
commit
3d7311dbbe
|
@ -60,10 +60,13 @@ figure[ typeof~='mw:File/Frame' ] {
|
|||
padding-right: var( --border-radius-base );
|
||||
// Sync with rounded corner
|
||||
padding-left: var( --border-radius-base );
|
||||
margin-top: var( --space-xs );
|
||||
color: var( --color-subtle );
|
||||
letter-spacing: 0.025em;
|
||||
caption-side: bottom;
|
||||
|
||||
&:not( :empty ) {
|
||||
margin-top: var( --space-xs );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue