[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user