It wrongly inherits generic elements style and results in smaller
than expected `font-size`. With this patch we're applying the correct
size.
Change-Id: I42160fc28b22920fbe4a8de48405480ff736aa4d
.mw-htmlform-ooui {
line-height: 1.4; // Override MediaWiki's default of `1.6`
+ .oo-ui-fieldsetLayout-header {
+ font-size: 100%; // Override MediaWiki's generic `legend` styling
+ }
+
.oo-ui-fieldLayout.oo-ui-labelElement > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header {
line-height: 16 / @ooui-font-size-browser / @ooui-font-size-base;
}