[FIX] web: searchbar vertical alignment on mobile

On non-legacy views (like Pivot) the vertical alignement of the
searchbar wasn't properly centered. Also there wasn't enough spacing
between the actual search input and the bottom line.

This commit fixes it by certically center it and normalize the bottom
padding accross legacy/non-legacy and mobile/desktop.

closes odoo/odoo#99476

X-original-commit: cdee502c05cfacdefd2e656001c6f9ae7d3146af
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
Pierre Paridans
2022-09-02 17:45:58 +02:00
parent ddfbfddf3c
commit 8546efe940
@@ -76,8 +76,8 @@
</t>
<t t-name="web.SearchBar" owl="1">
<div class="o_cp_searchview" role="search" t-ref="root">
<div class="o_searchview" role="search" aria-autocomplete="list">
<div class="o_cp_searchview d-flex flex-grow-1" role="search" t-ref="root">
<div class="o_searchview pb-1 align-self-center border-bottom flex-grow-1" role="search" aria-autocomplete="list">
<i class="o_searchview_icon oi oi-search"
role="img"
aria-label="Search..."