mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-09-23 10:21:40 +00:00
Merge "[styles] Make Trident workaround value a variable"
This commit is contained in:
commit
57e069ba81
|
@ -79,7 +79,7 @@ pre,
|
|||
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 ) );
|
||||
font-size: @font-size-base--trident-hack;
|
||||
line-height: @line-height-base;
|
||||
|
||||
h1 {
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
@font-family-sans--fallback: sans-serif;
|
||||
|
||||
@font-size-base: unit( 14 / @font-size-browser, em ); // Equals `0.875em`.
|
||||
@font-size-base--trident-hack: calc( 1em ~'*' unit( @font-size-base ) );
|
||||
@font-size-reset: @font-size-root;
|
||||
@font-size-heading-1: 1.8em;
|
||||
@font-size-heading-2: 1.5em;
|
||||
|
|
Loading…
Reference in a new issue