From 1365dad144bfaa1fc8f32a72f4cd737781e28090 Mon Sep 17 00:00:00 2001 From: luvi Date: Mon, 5 Feb 2024 02:50:22 +0100 Subject: [PATCH] [FIX] web: fix SelectMenu style with o_select_menu_sticky class This commit fixes the style applied to the o_select_menu_sticky elements. Since the fix from commit (1), the text cursor is shown when hovering those elements. This was without considering the fact that this class is mainly used to display elements on top of other elements of the component. This includes usages with the bottomArea slot, that can be used with a DropdownItem. Because of the changes from the commit previously named, the focused color was no longer applied, and it was showing the wrong cursor when hovering. 1) 53466e152bb819524b2890866bea4cbdd9091275 X-original-commit: 8ecc6f2a960494f01a745f21a24c3cc57614ad86 Part-of: odoo/odoo#153072 --- addons/web/static/src/core/select_menu/select_menu.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/addons/web/static/src/core/select_menu/select_menu.scss b/addons/web/static/src/core/select_menu/select_menu.scss index b9dbf0e58ba..f98a7514004 100644 --- a/addons/web/static/src/core/select_menu/select_menu.scss +++ b/addons/web/static/src/core/select_menu/select_menu.scss @@ -30,9 +30,15 @@ min-width: fit-content; max-height: 350px; + input { + cursor: text !important; + } .o_select_menu_sticky { background-color: $dropdown-bg !important; - cursor: text !important; + + &.o_select_menu_item.focus { + background: $dropdown-border-color !important; + } } .o_select_menu_group { top: 50px;