Skip to content

Commit

Permalink
Revert "Update highlighted event line to prevent content jumping (mat…
Browse files Browse the repository at this point in the history
…rix-org#7090)"

This reverts commit 0f8272c.
  • Loading branch information
SimonBrandner committed Nov 11, 2021
1 parent 5ad3261 commit b914c5d
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);
padding-left: calc($left-gutter - $selected-message-border-width);
}

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

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

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

&: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);
padding-left: calc($left-gutter + 18px - $selected-message-border-width);
}

/* End to end encryption stuff */
Expand Down

0 comments on commit b914c5d

Please sign in to comment.