From bc623461b3783da4767035f28e0f0ba59db82839 Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 11 Oct 2017 13:55:57 +0200 Subject: [PATCH] [FIX] website_sale: allow to properly click on mobile checkout button Part of the button was hidden by the (invisible) right column content when using some particular themes. This is because of a messy XML structure that cannot be safely repaired in a stable version. This commit fixes the bug with CSS. Note: this may need to be backported to 9.0 and the XML structure should be improved in master. --- addons/website_sale/static/src/css/website_sale.css | 4 ++++ addons/website_sale/static/src/css/website_sale.sass | 2 ++ 2 files changed, 6 insertions(+) diff --git a/addons/website_sale/static/src/css/website_sale.css b/addons/website_sale/static/src/css/website_sale.css index 1094e29010d..ed258891003 100644 --- a/addons/website_sale/static/src/css/website_sale.css +++ b/addons/website_sale/static/src/css/website_sale.css @@ -293,6 +293,10 @@ min-width: 76px; } +.oe_cart > .oe_structure { + clear: both; +} + div#payment_method div.list-group { margin-left: 40px; } diff --git a/addons/website_sale/static/src/css/website_sale.sass b/addons/website_sale/static/src/css/website_sale.sass index 971e59cf3c9..a2198dd0fc7 100644 --- a/addons/website_sale/static/src/css/website_sale.sass +++ b/addons/website_sale/static/src/css/website_sale.sass @@ -256,6 +256,8 @@ .oe_cart table td:first-child min-width: 76px +.oe_cart > .oe_structure + clear: both div#payment_method div.list-group