From 34227348f0097eb6d357fb1b22fcdb68240f4b4a Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Thu, 30 Jan 2020 10:20:25 +0000 Subject: [PATCH] [FIX] website: fix height and position of carousel indicators controls In gallery snippet in carousel mode, fix the fact that the height of the controls are bigger that the others squares and fix also the wrong position of the indicators. task-2162952 closes odoo/odoo#48380 X-original-commit: 9752596abfcae6b0bbf79ac675fe9e304a068a21 Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/src/snippets/s_image_gallery/000.scss | 3 ++- addons/website/static/src/xml/website.gallery.xml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/website/static/src/snippets/s_image_gallery/000.scss b/addons/website/static/src/snippets/s_image_gallery/000.scss index 90a0e3d99b6..9b5274f6673 100644 --- a/addons/website/static/src/snippets/s_image_gallery/000.scss +++ b/addons/website/static/src/snippets/s_image_gallery/000.scss @@ -136,8 +136,9 @@ display: inline-block; width: 40px; height: 40px; + line-height: 40px; margin: 2.5px 2.5px 2.5px 2.5px; - padding: 0; + padding: 0 !important; border: 1px solid #aaa; text-indent: initial; background-size: cover; diff --git a/addons/website/static/src/xml/website.gallery.xml b/addons/website/static/src/xml/website.gallery.xml index 7289bc7fb2e..3d0b6e4478d 100644 --- a/addons/website/static/src/xml/website.gallery.xml +++ b/addons/website/static/src/xml/website.gallery.xml @@ -20,13 +20,13 @@