From d051ddd20cf9eedd1287a991ee554461d7a055fc Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 10 Nov 2021 11:45:26 +0100 Subject: [PATCH] wait #4854 @0.25 --- images/symbols/cart-overlay.svg | 8 ++++---- js/libs/fluidbook/fluidbook.cart.js | 2 +- style/cart.less | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/images/symbols/cart-overlay.svg b/images/symbols/cart-overlay.svg index 2096d4bd..4d6ed28e 100644 --- a/images/symbols/cart-overlay.svg +++ b/images/symbols/cart-overlay.svg @@ -1,19 +1,19 @@ - + - + - + - + diff --git a/js/libs/fluidbook/fluidbook.cart.js b/js/libs/fluidbook/fluidbook.cart.js index 6ca7ef48..78d00ae4 100644 --- a/js/libs/fluidbook/fluidbook.cart.js +++ b/js/libs/fluidbook/fluidbook.cart.js @@ -79,7 +79,7 @@ FluidbookCart.prototype = { $('a[data-cart-ref]').each(function () { var paddingTop = 0.5 * ($(this).outerHeight() - 100); - var paddingLeft = 0.5 * ($(this).outerWidth() - 300); + var paddingLeft = 0.5 * ($(this).outerWidth() - 250); $(this).attr('data-tooltip', null).addClass('overlay').css({ paddingTop: paddingTop, paddingLeft: paddingLeft diff --git a/style/cart.less b/style/cart.less index 79946a4b..832bc4b6 100644 --- a/style/cart.less +++ b/style/cart.less @@ -12,11 +12,11 @@ a[data-cart-ref] { height: @w; &:last-child { - margin-left: @w; + margin-left: unit(@w*0.5, px); } svg { - top:0; + top: 0; left: 0; width: @w; height: @w; -- 2.39.5