Vector: Workaround for legacy IE font-sizing issues
authorEntlinkt <entlinkt@gmx-topmail.de>
Thu, 12 Jun 2014 08:04:37 +0000 (08:04 +0000)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 12 Jun 2014 14:22:13 +0000 (16:22 +0200)
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

skins/vector/variables.less

index 41cb1da..b17d15c 100644 (file)
@@ -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