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

Commit

Permalink
Fix message jumps
Browse files Browse the repository at this point in the history
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
  • Loading branch information
SimonBrandner committed Nov 11, 2021
1 parent 455027f commit 7a7659a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
1 change: 0 additions & 1 deletion res/css/views/right_panel/_ThreadPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ limitations under the License.
.mx_EventTile, .mx_EventListSummary {
// Account for scrollbar when hovering
width: calc(100% - 3px);
margin: 0 2px;
padding-top: 0;

.mx_ThreadInfo {
Expand Down
16 changes: 10 additions & 6 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ $left-gutter: 64px;
.mx_EventTile_senderDetails {
display: flex;
align-items: center;
gap: 6px;
gap: calc(6px + $selected-message-border-width);

a {
flex: 1;
Expand All @@ -804,17 +804,21 @@ $left-gutter: 64px;
display: none;
}

.mx_EventTile_line {
padding-left: 0 !important;
order: 10 !important;
}

.mx_EventTile {
width: 100%;
display: flex;
flex-direction: column;
padding-top: 0;

.mx_EventTile_line {
padding-left: $selected-message-border-width !important;
order: 10 !important;
}

&:hover .mx_EventTile_line {
padding-left: 0 !important;
}

.mx_MessageTimestamp {
left: auto;
right: 2px !important;
Expand Down

0 comments on commit 7a7659a

Please sign in to comment.