[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
This commit is contained in:
luvi
2024-02-07 18:34:22 +00:00
parent c8146daf6c
commit 1365dad144
@@ -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;