Merge "Use `calc` in `font-size` to harmonize IE 9-11"
This commit is contained in:
commit
a8685e3f0e
|
@ -97,6 +97,9 @@ body {
|
||||||
.mw-body-content {
|
.mw-body-content {
|
||||||
position: relative;
|
position: relative;
|
||||||
font-size: @font-size-base;
|
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;
|
line-height: @line-height-base;
|
||||||
z-index: 0;
|
z-index: 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue