From daee4bf8d1147a56404eecb522074720c240fc2f Mon Sep 17 00:00:00 2001 From: Benjamin Vray Date: Tue, 6 Jul 2021 13:05:07 +0000 Subject: [PATCH] [IMP] website_sale: improve the design of the list view of products MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit task-2574300 PR-73234 closes odoo/odoo#73234 Signed-off-by: Jérémy Kersten (jke) --- .../static/src/scss/website_sale.scss | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/addons/website_sale/static/src/scss/website_sale.scss b/addons/website_sale/static/src/scss/website_sale.scss index e3be20c4662..46af393774e 100644 --- a/addons/website_sale/static/src/scss/website_sale.scss +++ b/addons/website_sale/static/src/scss/website_sale.scss @@ -369,7 +369,7 @@ $o-wsale-products-layout-grid-gutter-width: min($grid-gutter-width / 2, $o-wsale } .oe_product_cart { - $-wsale-list-layout-height: 10rem; + $-wsale-list-layout-height: 12rem; flex-flow: row nowrap; min-height: $-wsale-list-layout-height; @@ -380,6 +380,7 @@ $o-wsale-products-layout-grid-gutter-width: min($grid-gutter-width / 2, $o-wsale max-width: 35%; min-width: 100px; height: auto; + padding: $spacer/2 !important; } .o_wsale_product_information { position: static; @@ -389,6 +390,18 @@ $o-wsale-products-layout-grid-gutter-width: min($grid-gutter-width / 2, $o-wsale } .o_wsale_product_information_text { flex: 1 1 auto; + margin-left: $spacer*2; + margin-right: $spacer; + + .o_wsale_products_item_title { + font-size: $h5-font-size; + padding-bottom: $spacer/3; + border-bottom: 1px solid gray('300'); + } + .oe_subdescription { + font-size: 0.9rem; + margin-top: $spacer/2; + } } .o_wsale_product_btn { flex: 0 0 auto;