Don't let call room names push out their containers

pull/21833/head
David Baker 2020-12-04 20:36:08 +00:00
parent 4c50125e9d
commit ab71547c4c
2 changed files with 10 additions and 1 deletions

View File

@ -234,10 +234,19 @@ limitations under the License.
}
}
.mx_CallView_header_callInfo {
margin-right: 16px;
}
.mx_CallView_header_roomName {
font-weight: bold;
font-size: 12px;
line-height: initial;
height: 15px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
max-width: 116px;
}
.mx_CallView_header_callTypeSmall {

View File

@ -537,7 +537,7 @@ export default class CallView extends React.Component<IProps, IState> {
<AccessibleButton onClick={this.onRoomAvatarClick}>
<RoomAvatar room={callRoom} height={32} width={32} />
</AccessibleButton>
<div>
<div className="mx_CallView_header_callInfo">
<div className="mx_CallView_header_roomName">{callRoom.name}</div>
<div className="mx_CallView_header_callTypeSmall">{callTypeText}</div>
</div>