[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>
This commit is contained in:
Cocographique
2020-03-09 17:19:08 +00:00
committed by qsm-odoo
parent 7e9482978a
commit 81c283ee2a
@@ -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>