Skip to content

Commit

Permalink
[FIX] mail: DiscussSidebar hover doesn't flicker on mouse-hovering
Browse files Browse the repository at this point in the history
Mouse-hovering items when discuss sidebar is compact result in some
style flickering on im status icon.

This happens because the items are button and they need `bg-inherit`.
Due to CSS specificity, however, the classname is not enough,
so we need `!important` in CSS, which is what this commit does to
fix the issue.

closes odoo#182462

X-original-commit: 7c02888
Signed-off-by: Alexandre Kühn (aku) <[email protected]>
  • Loading branch information
alexkuhn committed Oct 7, 2024
1 parent 6eae408 commit da90c57
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $o-mail-DiscussSidebarChannel-borderOpacity: .1;

.o-mail-DiscussSidebar-item {
line-height: 2; // so that same height as actions
background-color: inherit !important;

&:hover .o-mail-DiscussSidebarChannel-commands {
display: flex !important;
Expand Down

0 comments on commit da90c57

Please sign in to comment.