]> _ Git - fluidbook-html5.git/commitdiff
wait #4298 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 24 Feb 2021 12:34:08 +0000 (13:34 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 24 Feb 2021 12:34:08 +0000 (13:34 +0100)
js/libs/fluidbook/fluidbook.nav.js
style/cart/grandvision.less

index 6a116dd60535a1b8664af11bc047b4f8bcb3778a..47bb708304895c2988ec0d3d6a7f1f5eb8c590ab 100644 (file)
@@ -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('<li>' + link + '</li>');
             }
 
+
+
             if (!visible) {
                 $(link).addClass('hidden');
                 if (link2) {
index bd114ecf8b105f45b7d14cbef7c20d8746a970bf..f9ded6bb32b85be92b858e0c5219e981fc5a7024 100644 (file)
@@ -1,3 +1,7 @@
+#iconList .svg-icon{
+  margin: 0 13px !important;
+}
+
 .dragging-box-item() {
   [data-cart-delete] {
     display: none !important;
         svg {
           display: inline-block;
           height: 21px;
+          width: 21px;
           margin-right: 5px;
           position: relative;
           top: 4px;
             svg {
               display: inline-block;
               height: 22px;
+              width: 22px;
               margin-right: 5px;
               position: relative;
               top: 6px;
         svg {
           position: relative;
           top: 4px;
+          width: 20px;
           height: 20px;
           margin-right: 6px;
         }