Avoid flash of unstyled content on Special:Watchlist

Bug: T225127
Change-Id: I9b96627b1d48dddc30006fc52fc1816fbe8b29ac
This commit is contained in:
jdlrobson 2019-09-26 12:34:04 -07:00 committed by Jdlrobson
parent a735151d19
commit cd688eb197
2 changed files with 12 additions and 6 deletions

View file

@ -1,11 +1,5 @@
@import '../minerva.less/minerva.variables.less';
// decrease the font-size of the advanced filters module T229360
.mw-rcfilters-container,
.mw-rcfilters-ui-overlay {
font-size: @taglineFontSize;
}
.mw-rcfilters-ui-overlay {
// T231049: Override OOUI's text input font-size of `inherit` so that we can
// make the font-size compute to `16px` to prevent iOS input text zoom on focus.
@ -14,3 +8,8 @@
font-size: initial;
}
}
.mw-rcfilters-ui-watchlistTopSectionWidget-watchlistDetails,
.mw-rcfilters-ui-watchlistTopSectionWidget-editWatchlistButton {
display: block;
}

View file

@ -8,6 +8,13 @@
@import 'mediawiki.ui/mixins.buttons';
@import 'mediawiki.ui/variables';
// Decrease the font-size of the advanced filters module (see T229360).
.mw-rcfilters-container,
.mw-rcfilters-ui-overlay,
.watchlistDetails {
font-size: @taglineFontSize;
}
.mw-changeslist h4 {
font-size: @fontSizeH3;
padding: 1em 0 0 0 !important; // overriding .content h4