Remove special font-size treatment following-up UI unified in 14px base

Removing `0.8em`/`12.8px` VE special base `font-size` for UI as we're unifying
OOUI interfaces to `14px` equals to `0.875em` at user agent default size.

Bug: T189920
Depends-on: I693d168d2ccf2babbcfe8952af3e1c262aa97773
Change-Id: Idf64b077d8e5ab5b1352052b72ac198816dcc07a
This commit is contained in:
Volker E 2018-03-16 17:38:17 -07:00 committed by Bartosz Dziewoński
parent 372124fe56
commit 3cfe17ea37
3 changed files with 2 additions and 9 deletions

View file

@ -54,6 +54,8 @@
var surface = ve.init.target.getSurface();
if ( surface.getMode() === 'source' ) {
target = new mw.TemplateData.VETarget( surface, config );
// Use the same font size as main content text
target.$element.addClass( 'mw-body-content' );
$( '.ve-init-mw-desktopArticleTarget-originalContent' ).prepend( target.$element );
}
} );

View file

@ -1,12 +1,7 @@
.tdg-editscreen-main {
font-size: 0.914286em; /* (12.8/14) */
margin-bottom: 1em;
}
.ve-init-mw-desktopArticleTarget .tdg-editscreen-main {
font-size: 0.8em;
}
.tdg-editscreen-main-helplink {
margin-left: 1em;
}

View file

@ -18,10 +18,6 @@
font-weight: bold;
}
.mw-templateData-doc-params .oo-ui-widget {
font-size: 0.9143em;
}
.mw-templateData-format {
font-weight: normal;
font-size: 0.85em;