From ee33597ec93f3ac5776a333484fd1315d2bc3d9a Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Thu, 12 Sep 2019 15:46:58 +0000 Subject: [PATCH] [IMP] website: vertically center the images in gallery slideshow Note: the design of the whole snippet should be improved Part of https://github.com/odoo/odoo/pull/36803 task-2070930 closes odoo/odoo#36803 Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/src/scss/website.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index d0a39baa27c..34fcab86fc9 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -840,10 +840,15 @@ table.table_desc tr td { &.o_slideshow { .carousel { height: 100%; + .carousel-inner { height: 100%; } - .carousel-item { + .carousel-item.active, + .carousel-item-next, + .carousel-item-prev { + display: flex; + align-items: center; height: 100%; padding-bottom: 64px; }