feat: use the same font size as Vector for OOUI elements

This commit is contained in:
alistair3149 2021-01-14 19:42:37 -05:00
parent 9a399482a1
commit 776b9a004c
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
4 changed files with 27 additions and 3 deletions

View file

@ -9,9 +9,6 @@
.skin-citizen {
.mw-rcfilters-ui {
// To fix the weird button gapping issue
font-size: 0.875rem;
&-filter {
&TagMultiselectWidget {
&.oo-ui-widget-enabled {

View file

@ -6,6 +6,15 @@
@import '../../resources/variables.less';
@import '../../resources/mixins.less';
/**
* 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.
*/
.oo-ui-toolbar {
font-size: 0.875rem;
}
/*!
* Based on OOUI v0.39.3
* https://www.mediawiki.org/wiki/OOUI

View file

@ -6,6 +6,15 @@
@import '../../resources/variables.less';
@import '../../resources/mixins.less';
/**
* 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.
*/
.oo-ui-widget {
font-size: 0.875rem;
}
/*!
* Based on OOUI v0.39.3
* https://www.mediawiki.org/wiki/OOUI

View file

@ -6,6 +6,15 @@
@import '../../resources/variables.less';
@import '../../resources/mixins.less';
/**
* 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.
*/
.oo-ui-window {
font-size: 0.875rem;
}
/*!
* Based on OOUI v0.39.3
* https://www.mediawiki.org/wiki/OOUI