mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-09-23 10:21:40 +00:00
Use base font size for wikitext editors
We don't want to filter out action=edit/submit as the page also can contain a content preview, which should respect the appearance preference. Instead reset the UI size for mw-editform. Note that the font size of the edit are is already fixed at 13px, so this just fixes the size of UI components, which shouldn't be scaled by the appearance setting. Bug: T373875 Change-Id: Iaabdb67da23b5722056046c1ed88e366471d7b2c
This commit is contained in:
parent
882ed44615
commit
b33a895bc1
|
@ -6,3 +6,8 @@
|
|||
// current font-size to get the intended result (as if font-size wasn't changed).
|
||||
max-width: ( @max-width-content-container / @font-size-base );
|
||||
}
|
||||
|
||||
.mw-editform {
|
||||
font-size: unit( @font-size-base, rem );
|
||||
line-height: @line-height-small;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue