Skip to content

Commit

Permalink
Update highlighted event line to prevent content jumping (matrix-org#…
Browse files Browse the repository at this point in the history
  • Loading branch information
germain-gg authored Nov 5, 2021
1 parent 2c05883 commit 0f8272c
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 0f8272c

Please sign in to comment.