mediawiki-skins-Vector/resources/common/components/SiteNotice.less
Ed Sanders ff8a5bc034 Only apply vertical margin to #siteNotice content when non-empty
Bug: T325219
Change-Id: I7fd7600172e72707d1d8065ed2be235841a401be
2023-02-22 20:42:02 +00:00

19 lines
410 B
Plaintext

@import '../variables.less';
/** element that wraps a notice that comes from wiki page */
#localNotice {
margin-bottom: 0.9em;
}
/* Site Notice (includes notices from CentralNotice extension) */
#siteNotice {
font-size: @font-size-site-notice;
position: relative;
text-align: center;
// e.g. #centralNotice, #localNotice, when not empty (T325219)
> div:not( :empty ) {
margin: @grid-row-gap 0;
}
}