mediawiki-skins-Citizen/resources/skins.citizen.styles/common/hacks.less
alistair3149 5b0bb4c209
refactor(core): ♻️ use new sr-only rules instead of relying on core
Core mixins are very conservative in comparsion and mixins are changed from time to time.
It is more maintainable to maintain our own sr-only styles.
2024-07-03 14:41:14 -04:00

28 lines
566 B
Plaintext

// Hide RSS icon
a.feedlink {
background: none !important;
}
.screen-reader-text {
.sr-only;
}
/**
* 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: var( --font-size-small );
}
// Replace 50em (50 * 0.875rem) with 50rem
.oo-ui-textInputWidget {
max-width: 50rem;
}