From e124a76db1de86e69aa8d9d9919ffa31fb6fdfe1 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 24 Feb 2021 13:34:08 +0100 Subject: [PATCH] wait #4298 @0.5 --- js/libs/fluidbook/fluidbook.nav.js | 11 ++++++++++- style/cart/grandvision.less | 7 +++++++ 2 files changed, 17 insertions(+), 1 deletion(-) 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; } -- 2.39.5