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

Commit

Permalink
Move mx_EventTile_msgOption out of mx_EventTile:not([data-layout=bubb…
Browse files Browse the repository at this point in the history
…le]) (#8973)

* Move mx_EventTile_msgOption out of mx_EventTile:not([data-layout=bubble])

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Decrease specificity on _IRCLayout.scss

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul authored Jul 5, 2022
1 parent 88afd55 commit 4b624fd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,22 @@ $left-gutter: 64px;
margin-right: 10px;
}

.mx_EventTile_msgOption {
float: right;
text-align: right;
position: relative;
width: 90px;

/* Hack to stop the height of this pushing the messages apart.
Replaces margin-top: -6px. This interacts better with a read
marker being in between. Content overflows. */
height: 1px;

a {
text-decoration: none;
}
}

&.mx_EventTile_highlight,
&.mx_EventTile_highlight .markdown-body {
.mx_EventTile_line {
Expand Down Expand Up @@ -305,22 +321,6 @@ $left-gutter: 64px;
}
}

.mx_EventTile_msgOption {
float: right;
text-align: right;
position: relative;
width: 90px;

/* Hack to stop the height of this pushing the messages apart.
Replaces margin-top: -6px. This interacts better with a read
marker being in between. Content overflows. */
height: 1px;

a {
text-decoration: none;
}
}

&:hover.mx_EventTile_verified .mx_EventTile_line {
box-shadow: inset calc(50px + $selected-message-border-width) 0 0 -50px $e2e-verified-color;
}
Expand Down
2 changes: 1 addition & 1 deletion res/css/views/rooms/_IRCLayout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $irc-line-height: $font-18px;
margin-right: $right-padding;
}

> .mx_EventTile_msgOption {
.mx_EventTile_msgOption {
order: 5;
flex-shrink: 0;

Expand Down

0 comments on commit 4b624fd

Please sign in to comment.