From 89d3e2219ce9393c69d71b2e97c2b12faa07a2cb Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Wed, 5 Dec 2018 15:00:26 +0000 Subject: [PATCH] [FIX] website_sale: accessories button no all width The cell containing "Add to Cart" button that adds suggested accessories in the cart has col-* classes. Thus it there is "flex-item" CSS properties that make no sense since there is no container and the sibling are not flex items. So the button tried to take 100% of width and this commit just fix its proposed width to 25%. Before change width was 16.7% width for large screen, 25% for medium screen and 33.3% for small screen. I choosed 25% since it seemed a good default (we don't need 33.3% since .btn is whitespace:nowrap so the size will be higher than 25% if necessary). opw-1914994 closes #29287 --- addons/website_sale/views/templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index dcc5c468c61..c79b13d1960 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -956,7 +956,7 @@ - + Add to Cart