From 4ff50c6a05c359e0ec586ba02ded536662f3c413 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Fri, 8 Apr 2016 16:12:26 -0700 Subject: [PATCH] fix layout issues --- rt/sizemgr.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rt/sizemgr.ts b/rt/sizemgr.ts index f3beb05d..d06238b5 100644 --- a/rt/sizemgr.ts +++ b/rt/sizemgr.ts @@ -174,7 +174,10 @@ module TDev { elt("root").style.height = h + "px"; if (phoneSimulationW > 0) elt("root").style.width = w + "px"; - elt("root").style.fontSize = Browser.isMobile ? topFontSize +"px" : "16px"; + + if (!Browser.isMobile) topFontSize = 16; // allow zooming; + + elt("root").style.fontSize = topFontSize +"px"; var rootClass = portraitMode ? "portrait" : "landscape"; if (phoneMode) rootClass += " phone";