From: Entlinkt Date: Thu, 12 Jun 2014 08:04:37 +0000 (+0000) Subject: Vector: Workaround for legacy IE font-sizing issues X-Git-Tag: 1.31.0-rc.0~15390^2 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=0e26cd359c567f822fe201206baf5f12171a5ab1;p=lhc%2Fweb%2Fwiklou.git Vector: Workaround for legacy IE font-sizing issues In IE <= 7, 'Ctrl' + '+' scales the font size in far too large steps if the root element's font size is given in the 'em' unit. Everything becomes normal if the root element's font-size is given in '%'. This should not have any effect in other browsers. Bug: 24515 Change-Id: I5cc864d73935a02713075840b7ff80000b3ae88a --- diff --git a/skins/vector/variables.less b/skins/vector/variables.less index 41cb1dab9d..b17d15cfcd 100644 --- a/skins/vector/variables.less +++ b/skins/vector/variables.less @@ -1,4 +1,4 @@ -@html-font-size: 1em; +@html-font-size: 100%; // Page content // FIXME: Use global variable since Echo and CentralNotice use this variable