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

Commit 4b624fd

Browse files
authored
Move mx_EventTile_msgOption out of mx_EventTile:not([data-layout=bubble]) (#8973)
* Move mx_EventTile_msgOption out of mx_EventTile:not([data-layout=bubble]) Signed-off-by: Suguru Hirahara <[email protected]> * Decrease specificity on _IRCLayout.scss Signed-off-by: Suguru Hirahara <[email protected]>
1 parent 88afd55 commit 4b624fd

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

res/css/views/rooms/_EventTile.scss

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,22 @@ $left-gutter: 64px;
169169
margin-right: 10px;
170170
}
171171

172+
.mx_EventTile_msgOption {
173+
float: right;
174+
text-align: right;
175+
position: relative;
176+
width: 90px;
177+
178+
/* Hack to stop the height of this pushing the messages apart.
179+
Replaces margin-top: -6px. This interacts better with a read
180+
marker being in between. Content overflows. */
181+
height: 1px;
182+
183+
a {
184+
text-decoration: none;
185+
}
186+
}
187+
172188
&.mx_EventTile_highlight,
173189
&.mx_EventTile_highlight .markdown-body {
174190
.mx_EventTile_line {
@@ -305,22 +321,6 @@ $left-gutter: 64px;
305321
}
306322
}
307323

308-
.mx_EventTile_msgOption {
309-
float: right;
310-
text-align: right;
311-
position: relative;
312-
width: 90px;
313-
314-
/* Hack to stop the height of this pushing the messages apart.
315-
Replaces margin-top: -6px. This interacts better with a read
316-
marker being in between. Content overflows. */
317-
height: 1px;
318-
319-
a {
320-
text-decoration: none;
321-
}
322-
}
323-
324324
&:hover.mx_EventTile_verified .mx_EventTile_line {
325325
box-shadow: inset calc(50px + $selected-message-border-width) 0 0 -50px $e2e-verified-color;
326326
}

res/css/views/rooms/_IRCLayout.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $irc-line-height: $font-18px;
3939
margin-right: $right-padding;
4040
}
4141

42-
> .mx_EventTile_msgOption {
42+
.mx_EventTile_msgOption {
4343
order: 5;
4444
flex-shrink: 0;
4545

0 commit comments

Comments
 (0)