Display the indicator even with one message in pinned message banner (#12946)

* Display the indicator even with one message

* Update e2e tests
This commit is contained in:
Florian Duros 2024-09-02 17:51:04 +02:00 committed by GitHub
parent 41686bba58
commit f033b64b53
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 16 additions and 4 deletions

View file

@ -80,7 +80,7 @@
grid-area: title;
font: var(--cpd-font-body-sm-regular);
color: var(--cpd-color-text-action-accent);
height: 20px;
line-height: 20px;
.mx_PinnedMessageBanner_title_counter {
font: var(--cpd-font-body-sm-semibold);
@ -90,7 +90,7 @@
.mx_PinnedMessageBanner_message {
grid-area: message;
font: var(--cpd-font-body-sm-regular);
height: 20px;
line-height: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@ -114,6 +114,10 @@
height: 63px;
.mx_PinnedMessageBanner_content {
grid-template: "pinIcon message" auto;
grid-template: "indicators pinIcon message" auto;
.mx_PinnedMessageBanner_message {
line-height: 40px;
}
}
}