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:
Ed Sanders 2024-09-11 17:35:14 +01:00
parent 882ed44615
commit b33a895bc1

View file

@ -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;
}