Don't render a bubble around emotes in bubble layout (#7573)
This commit is contained in:
committed by
GitHub
parent
6806c2cdca
commit
d60b234b75
@@ -42,6 +42,10 @@ limitations under the License.
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.mx_EventTile_content {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
&.mx_EventTile_continuation {
|
||||
margin-top: 2px;
|
||||
}
|
||||
@@ -419,6 +423,22 @@ limitations under the License.
|
||||
|
||||
.mx_EventTile.mx_EventTile_noBubble[data-layout=bubble] {
|
||||
--backgroundColor: transparent;
|
||||
|
||||
.mx_EventTile_line.mx_EventTile_emote {
|
||||
padding-right: 60px; // align with bubbles text
|
||||
font-style: italic;
|
||||
|
||||
> a { // timestamp anchor wrapper
|
||||
align-self: center;
|
||||
bottom: unset;
|
||||
top: unset;
|
||||
font-style: normal; // undo italic above
|
||||
}
|
||||
|
||||
.mx_MEmoteBody {
|
||||
padding: 4px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mx_EventTile.mx_EventTile_bubbleContainer[data-layout=bubble],
|
||||
|
||||
Reference in New Issue
Block a user