From: nael Date: Thu, 8 Aug 2019 16:23:29 +0000 (+0200) Subject: wip #2934 @5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c542d96a2e8f3aeb181198c0e7e32b3644a83bf8;p=pmi.git wip #2934 @5 --- diff --git a/public/_modules/product-detail-page/index.html b/public/_modules/product-detail-page/index.html index 318dee9..d63a157 100644 --- a/public/_modules/product-detail-page/index.html +++ b/public/_modules/product-detail-page/index.html @@ -153,18 +153,18 @@ -
-

- Télécharger la fiche produit -

+
+ + + -
-
- ? +
+
+ ? +
-
diff --git a/public/_modules/product-detail-page/main.js b/public/_modules/product-detail-page/main.js index 417a78b..c5fee5e 100644 --- a/public/_modules/product-detail-page/main.js +++ b/public/_modules/product-detail-page/main.js @@ -8,9 +8,17 @@ tippy('.question-tooltip', { flipBehavior: ["top", "bottom"], theme: 'custom', placement: 'top', - trigger: 'click', // remove click trigger to hover + trigger: 'click', // remove click trigger to hover, + + popperOptions:{ + modifiers: { + data: {styles: {marginBottom: '50px'}}, + hide: { enabled: true } + } + }, // onCreate: data => { // data.styles: 'margin: 0 20px'; // }, -}); + +}); \ No newline at end of file diff --git a/public/_modules/product-detail-page/style.styl b/public/_modules/product-detail-page/style.styl index 61cd2c9..d363682 100644 --- a/public/_modules/product-detail-page/style.styl +++ b/public/_modules/product-detail-page/style.styl @@ -23,4 +23,7 @@ border-top-color: #6B7287; .tippy-tooltip.custom-theme[x-placement^='bottom'] .tippy-arrow - border-bottom-color: #6B7287; \ No newline at end of file + border-bottom-color: #6B7287; + +.tippy-popper + margin: 0 1rem \ No newline at end of file