diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index 29e73ee6e7..43f65f1cc9 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -843,16 +843,6 @@ $left-gutter: 64px; flex-flow: wrap; align-items: center; - &:hover, - // Override .mx_EventTile:not([data-layout=bubble]).mx_EventTile:hover .mx_EventTile_line - &:not([data-layout=bubble]):hover .mx_EventTile_line { - background-color: $system; - } - - &:not([data-layout=bubble]):hover .mx_EventTile_line { - box-shadow: none; // don't show the verification left stroke in the thread list - } - &::after, &::before { content: ""; @@ -970,6 +960,18 @@ $left-gutter: 64px; max-width: var(--MessageTimestamp-max-width); position: initial; } + + &:hover { + background-color: $system; + } + + // ThreadsList has always group layout + &[data-layout=group]:hover { + .mx_EventTile_line { + background-color: $system; // override $event-selected-color + box-shadow: none; // don't show the verification left stroke in the thread list + } + } } // For style rules of ThreadView, see _ThreadPanel.scss