Don't render a bubble around emotes in bubble layout (#7573)
This commit is contained in:
parent
6806c2cdca
commit
d60b234b75
3 changed files with 26 additions and 1 deletions
|
@ -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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue