[FIX] web: checked menu item in dropdown align on the right

Since [1], when a filter dropdown menu is active a check icon is shown but it's
positioned over the carret of the dropdown sub-menu (e.g. a date field).

After this commit, the CSS rules for [1] are excluded when it's a
`o_menu_item` (OWL) to target only Bootstrap dropdown.

Steps to reproduce:
* Open the Sales app
* Filter by the `Create Date` and select a sub option
=> BUG the check sign is on the right

[1]: odoo/odoo@e24bff6991

closes odoo/odoo#115551

X-original-commit: 965c6cdcdedcc8696f20a27c39273c0a24c941b8
Signed-off-by: Bruno Boi (boi) <boi@odoo.com>
Signed-off-by: Romeo Fragomeli (rfr) <rfr@odoo.com>
This commit is contained in:
Romeo Fragomeli
2023-03-16 17:29:49 +01:00
parent d5f7ded911
commit 6375ca94cd
@@ -48,7 +48,7 @@
outline: none;
box-shadow: none !important;
}
&.dropdown-item {
&.dropdown-item:not(.o_menu_item) {
&::after, &::before {
// Changes the placement of bootstrap dropdown carets for subdropdowns
@include o-position-absolute($right: 0, $top: 0);