From 695cb942b6896c771c9f216b013e5e96fbdb33cf Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Mon, 29 Apr 2019 16:07:28 +0000 Subject: [PATCH] [FIX] website_sale: fix product description on mobile with list layout Long product descriptions were overflowing on mobile when the list layout was used. Indeed in all other cases (non mobile or grid layout), a max-height is set to prevent this problem. This commit sets a max-height for the mobile list layout use case. Note: the layout is still to be reviewed to handle these cases the right way. A task is actually being developed in master to do that. opw-1974989 closes odoo/odoo#33023 Signed-off-by: Quentin Smetz (qsm) --- addons/website_sale/static/src/scss/website_sale.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/website_sale/static/src/scss/website_sale.scss b/addons/website_sale/static/src/scss/website_sale.scss index dde7488cd96..4b5db309760 100644 --- a/addons/website_sale/static/src/scss/website_sale.scss +++ b/addons/website_sale/static/src/scss/website_sale.scss @@ -358,6 +358,10 @@ &.oe_list { height: 200px; + .oe_subdescription { + max-height: 40px; + } + section { background: rgba(100, 100, 100, 0.2); }