[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) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2019-04-29 16:07:28 +00:00
parent 84bb01606a
commit 695cb942b6
@@ -358,6 +358,10 @@
&.oe_list {
height: 200px;
.oe_subdescription {
max-height: 40px;
}
section {
background: rgba(100, 100, 100, 0.2);
}