odoo/odoo#146122

Created by fw-bot
Merged at e10edae366cd1f4f699de549b53df4f13f570608

Statuses:

label
odoo-dev:saas-16.4-16.0-opw-3581553-web-search-bar-tdc-XtPd-fw
head
0031bf3843ea9bf93590d46336c4d4ba374a0ecf
merged
1 year ago by JavaScript, Pierre Paridans (app)
odoo/odoo
16.0 #141449
saas-16.1 #146001
saas-16.2 #146016
saas-16.3 #146034
saas-16.4 #146122
17.0 #146133
18.0
saas-18.1
saas-18.2
saas-18.3
master #146319

[FW][FIX] web: avoid search bar overflow

Overflowing search facets do not wrap making them disappear from view when too long.
This can happen when searching a single field for multiple values (as they are bundled in the same facet).
The problem is fixed by adding actual breakable spaces around the "or" instead of recreating the spacing with margins (which visually looks OK but is actually unreadable as every terms are glued together).

Steps to reproduce:
* Open a view with a search (kanban, list, ...)
* Add many, many long terms search for the same field
=> BUG the search overflow outside the search bar

opw-3581553

Forward-Port-Of: #146034
Forward-Port-Of: #141449