mediawiki-skins-Citizen/resources/skins.citizen.styles/common/hacks.less
沈澄心 914b81010e
fix(ooui): fix max-width of OOUI TextInputWidget (#666)
* Update mediawiki.special.search.styles.less

* Update hacks.less

* Update mediawiki.special.search.styles.less
2023-06-20 14:12:15 -04:00

28 lines
567 B
Plaintext

// Hide RSS icon
a.feedlink {
background: none !important;
}
.screen-reader-text {
.mixin-screen-reader-text;
}
/**
* OOUI has some layout issues when the font size is not
* same as what is being used in Vector. This is a dirty
* hack to ensure that the UI is displayed correctly.
*
* This is put here because the OOUI skinstyle is lazyloaded,
* causing significant layout shift
*
* Revisit this when T254055 is resolved
*/
.oo-ui-widget {
font-size: 0.875rem;
}
// Replace 50em (50 * 0.875rem) with 50rem
.oo-ui-textInputWidget {
max-width: 50rem;
}