Merge "Use `calc` in `font-size` to harmonize IE 9-11"

This commit is contained in:
jenkins-bot 2020-03-30 21:07:26 +00:00 committed by Gerrit Code Review
commit a8685e3f0e
1 changed files with 3 additions and 0 deletions

View File

@ -97,6 +97,9 @@ body {
.mw-body-content {
position: relative;
font-size: @font-size-base;
// Support IE 9-11, Trident cuts values 2 digits after decimal point.
// `calc` enables to set correct calculation in place again. See T102364.
font-size: calc( 1em ~'*' unit( @font-size-base ) );
line-height: @line-height-base;
z-index: 0;