summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCocographique <nmi@odoo.com>2020-03-04 09:30:41 +0000
committerqsm-odoo <qsm@odoo.com>2020-03-09 17:19:08 +0000
commit81c283ee2afdbb442147a0065be9cf9d2e4a1e5f (patch)
tree9d94b877ffef53e01b56891c1f27f4e5ef297362
parent7e9482978abe9d442020ef29784344905f882e0e (diff)
[FIX] website_sale: make search bar suggestions visible
Since 13.2, the cards cannot contain an overflowing element anymore as we needed to enforce 'overflow: hidden' for the border-radius option. Note: this commit adds data-vxml="001" on the snippet. This will allow users which have already added the card version of the snippet in their website to receive a notification that the snippet is deprecated once we will have implemented that system (in progress). task-2208802 closes odoo/odoo#47228 X-original-commit: 220ec38e7538389279eb2dce9c897052d680ea1a Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
-rw-r--r--addons/website_sale/views/snippets/s_products_searchbar.xml12
1 files changed, 4 insertions, 8 deletions
diff --git a/addons/website_sale/views/snippets/s_products_searchbar.xml b/addons/website_sale/views/snippets/s_products_searchbar.xml
index 5a80366b2c9..eaff24c8ef7 100644
--- a/addons/website_sale/views/snippets/s_products_searchbar.xml
+++ b/addons/website_sale/views/snippets/s_products_searchbar.xml
@@ -7,17 +7,13 @@
</t>
</template>
<template id="s_products_searchbar" name="Products Search">
- <section class="s_wsale_products_searchbar bg-200 pt24 pb24">
+ <section class="s_wsale_products_searchbar bg-200 pt48 pb48" data-vxml="001">
<div class="container">
<div class="row">
<div class="col-lg-8 offset-lg-2">
- <div class="card">
- <div class="card-body">
- <h2>Search for a product</h2>
- <p>We have amazing products in our shop, check them now !</p>
- <t t-call="website_sale.s_products_searchbar_input"/>
- </div>
- </div>
+ <h2>Search for a product</h2>
+ <p>We have amazing products in our shop, check them now !</p>
+ <t t-call="website_sale.s_products_searchbar_input"/>
</div>
</div>
</div>