From: Stephen Cameron Date: Mon, 30 Oct 2017 13:31:41 +0000 (+0100) Subject: Fix #1772 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=964a881014c2dec67f8ef49a0ee045bc6f1b63df;p=fluidbook-html5.git Fix #1772 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.resize.js b/js/libs/fluidbook/fluidbook.resize.js index 71593f53..69fc4f60 100644 --- a/js/libs/fluidbook/fluidbook.resize.js +++ b/js/libs/fluidbook/fluidbook.resize.js @@ -170,14 +170,14 @@ FluidbookResize.prototype = { bottom: audioButtonPosition }); - $("#logo,footer,#searchHints,#menuOpener").transform({ + $("#logo,footer,#searchHints").transform({ scale: navScale }); - // Scale horizontal size and positioning. Transform origin is handled in CSS for LTR/RTL variations - $('#horizontalNav').css({ + // Scale horizontal nav size and positioning. Transform origin is handled in CSS for LTR/RTL variations + $('#horizontalNav, #menuOpener').css({ 'transform': 'translateY(-' + 50 * navScale + '%) scale(' + navScale + ')' - }) + }); var headerHeight = this.fluidbook.datas.menuHeight * navScale; $('header').css({ @@ -352,4 +352,4 @@ FluidbookResize.prototype = { this.fluidbook.search.menuSearchHints.perfectScrollbar('update'); } } -}; \ No newline at end of file +};