[FIX] web: correctly target 'o_dropdown_item' child
Partially revert b0c325 removing rules defining '<a>' children as exceptions. Indeed, to have a child wrapping the entry's content (either <a> or <span>) is now considered the norm. This commit will extend bootstrap 'dropdown-item' design to any 'o_dropdown_item' child rather than on 'o_dropdown_item' itself. Part-of: odoo/odoo#73311
This commit is contained in:
committed by
Aaron Bohy
parent
55ff61a1f2
commit
1316dc53ab
@@ -122,6 +122,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
&_item > *:first-child:last-child {
|
||||
@extend .dropdown-item;
|
||||
}
|
||||
|
||||
&_item.o_dropdown_active > *:first-child:last-child {
|
||||
@extend .dropdown-item:hover;
|
||||
}
|
||||
|
||||
&_menu_group {
|
||||
@extend .dropdown-header;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user