Add a pinned message badge under a pinned message (#118)
* Add pinned message badge for Modern Layout * Add Bubble layout support * Add thread support * Add irc support * Rename event tile badges * Don't render footer when there is no reactions * Add a test for `PinnedMessageBadge.tsx` * Add a test in EventTile-test.tsx * Add e2e test
This commit is contained in:
parent
2dbaf00e71
commit
70418f8f3d
14 changed files with 189 additions and 11 deletions
|
@ -172,7 +172,8 @@ Please see LICENSE files in the repository root for full details.
|
|||
border-color: $quinary-content;
|
||||
}
|
||||
|
||||
.mx_ReactionsRow {
|
||||
.mx_EventTile_footer {
|
||||
margin: var(--cpd-space-1-5x) 0;
|
||||
margin-inline: var(--EventTile_bubble_line-margin-inline-start) var(--EventTile_bubble_line-margin-inline-end);
|
||||
}
|
||||
|
||||
|
@ -204,7 +205,8 @@ Please see LICENSE files in the repository root for full details.
|
|||
margin-inline-end: auto;
|
||||
}
|
||||
|
||||
.mx_ReactionsRow {
|
||||
.mx_ReactionsRow,
|
||||
.mx_EventTile_footer {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
|
@ -245,6 +247,10 @@ Please see LICENSE files in the repository root for full details.
|
|||
max-width: 100%;
|
||||
}
|
||||
|
||||
.mx_EventTile_footer {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.mx_ReactionsRow {
|
||||
justify-content: flex-end;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue