From: Vincent Vanwaelscappel Date: Wed, 24 Feb 2021 12:34:08 +0000 (+0100) Subject: wait #4298 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e124a76db1de86e69aa8d9d9919ffa31fb6fdfe1;p=fluidbook-html5.git wait #4298 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.nav.js b/js/libs/fluidbook/fluidbook.nav.js index 6a116dd6..47bb7083 100644 --- a/js/libs/fluidbook/fluidbook.nav.js +++ b/js/libs/fluidbook/fluidbook.nav.js @@ -10,7 +10,14 @@ function FluidbookNav(fluidbook) { this._inited = {}; this.setNav('horizontalNav'); this.setNav('menu'); - + if (Modernizr.msie) { + $('#horizontalNav svg').each(function () { + var h = 25; + var viewBox = $(this).attr('viewBox').split(' '); + var w = parseFloat(viewBox[2]) * (h / parseFloat(viewBox[3])); + $(this).css('width', w); + }); + } } FluidbookNav.prototype = { @@ -625,6 +632,8 @@ FluidbookNav.prototype = { nav.find('ul').append('
  • ' + link + '
  • '); } + + if (!visible) { $(link).addClass('hidden'); if (link2) { diff --git a/style/cart/grandvision.less b/style/cart/grandvision.less index bd114ecf..f9ded6bb 100644 --- a/style/cart/grandvision.less +++ b/style/cart/grandvision.less @@ -1,3 +1,7 @@ +#iconList .svg-icon{ + margin: 0 13px !important; +} + .dragging-box-item() { [data-cart-delete] { display: none !important; @@ -299,6 +303,7 @@ svg { display: inline-block; height: 21px; + width: 21px; margin-right: 5px; position: relative; top: 4px; @@ -409,6 +414,7 @@ svg { display: inline-block; height: 22px; + width: 22px; margin-right: 5px; position: relative; top: 6px; @@ -464,6 +470,7 @@ svg { position: relative; top: 4px; + width: 20px; height: 20px; margin-right: 6px; }