Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Update highlighted event line to prevent content jumping (#7090)
Browse files Browse the repository at this point in the history
  • Loading branch information
germain-gg authored and toger5 committed Nov 10, 2021
1 parent 416a0f4 commit 24cfe6b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -221,25 +221,25 @@ $left-gutter: 64px;
&:hover.mx_EventTile_verified .mx_EventTile_line,
&:hover.mx_EventTile_unverified .mx_EventTile_line,
&:hover.mx_EventTile_unknown .mx_EventTile_line {
padding-left: calc($left-gutter - $selected-message-border-width);
padding-left: calc($left-gutter);
}

&:hover.mx_EventTile_verified .mx_EventTile_line {
border-left: $e2e-verified-color $selected-message-border-width solid;
box-shadow: inset $selected-message-border-width 0 0 0 $e2e-verified-color;
}

&:hover.mx_EventTile_unverified .mx_EventTile_line {
border-left: $e2e-unverified-color $selected-message-border-width solid;
box-shadow: inset $selected-message-border-width 0 0 0 $e2e-verified-color;
}

&:hover.mx_EventTile_unknown .mx_EventTile_line {
border-left: $e2e-unknown-color $selected-message-border-width solid;
box-shadow: inset $selected-message-border-width 0 0 0 $e2e-verified-color;
}

&:hover.mx_EventTile_verified.mx_EventTile_info .mx_EventTile_line,
&:hover.mx_EventTile_unverified.mx_EventTile_info .mx_EventTile_line,
&:hover.mx_EventTile_unknown.mx_EventTile_info .mx_EventTile_line {
padding-left: calc($left-gutter + 18px - $selected-message-border-width);
padding-left: calc($left-gutter + 18px);
}

/* End to end encryption stuff */
Expand Down

0 comments on commit 24cfe6b

Please sign in to comment.