Improve Voice Broadcast header layout (#9437)

* Fix Voice Broadcast live badge position

* Prevent voice broadcast header overflow

* Fix VoiceBroadcastPlaybackBody-test
This commit is contained in:
Michael Weimann 2022-10-17 18:13:06 +02:00 committed by GitHub
parent 788dd904b7
commit e1d631cb47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 34 additions and 7 deletions

View file

@ -20,6 +20,11 @@ limitations under the License.
width: 266px;
}
.mx_VoiceBroadcastHeader_content {
flex-grow: 1;
min-width: 0;
}
.mx_VoiceBroadcastHeader_room {
font-size: $font-12px;
font-weight: $font-semi-bold;
@ -34,4 +39,14 @@ limitations under the License.
font-size: $font-12px;
display: flex;
gap: $spacing-4;
i {
flex-shrink: 0;
}
span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}