mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
Only apply vertical margin to #siteNotice content when non-empty
Bug: T325219 Change-Id: I7fd7600172e72707d1d8065ed2be235841a401be
This commit is contained in:
parent
659aee4559
commit
ff8a5bc034
|
@ -8,7 +8,11 @@
|
||||||
/* Site Notice (includes notices from CentralNotice extension) */
|
/* Site Notice (includes notices from CentralNotice extension) */
|
||||||
#siteNotice {
|
#siteNotice {
|
||||||
font-size: @font-size-site-notice;
|
font-size: @font-size-site-notice;
|
||||||
margin: @grid-row-gap 0;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
// e.g. #centralNotice, #localNotice, when not empty (T325219)
|
||||||
|
> div:not( :empty ) {
|
||||||
|
margin: @grid-row-gap 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue