[FIX] portal: add ellipses to search box placeholder overflow

Versions:
---------
- 15.0+

Issue:
------
Depending on the font, string & window size, the `oe_search_box`
placeholder may get cropped awkwardly.

Cause:
------
The search field can't guarantee adequate width to show the full
placeholder string.

Solution:
---------
Add `text-overflow: ellipsis` CSS rule for `oe_search_box` elements to
make it clear the placeholder was cropped.

Related:
--------
- odoo/enterprise@b69c7da11a
- odoo/enterprise@5e47eaf30f

opw-3504281

closes odoo/odoo#141070

X-original-commit: 18cbb2913537bab0748f0a4e7ed466f259c8fa77
Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
Levi Siuzdak (sile)
2023-11-04 19:06:41 +00:00
parent f190b6ebb0
commit 5bb1a3b450
@@ -156,6 +156,7 @@ img, .media_iframe_video, .o_image {
}
.oe_search_box {
padding-right: 23px;
text-overflow: ellipsis;
}
// Kept for (up to) saas-12 compatibility