diff --git a/res/css/views/right_panel/_ThreadPanel.scss b/res/css/views/right_panel/_ThreadPanel.scss index 9947a7575f0..043e2444b1c 100644 --- a/res/css/views/right_panel/_ThreadPanel.scss +++ b/res/css/views/right_panel/_ThreadPanel.scss @@ -199,10 +199,6 @@ limitations under the License. .mx_EventTile_e2eIcon { left: 8px; } - - &:hover .mx_EventTile_line { - box-shadow: unset !important; // don't show the verification left stroke in the thread list - } } .mx_MessageComposer { diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index 27b5df0a492..fbb7da86851 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -737,11 +737,15 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss align-items: center; &:hover, - // To cancel "&.mx_EventTile:hover .mx_EventTile_line" + // 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 { content: ""; position: absolute;