Merge pull request #1994 from matrix-org/t3chguy/fix_group_tile_overflow

add additional classes which protect the text from overflowing
pull/21833/head
Luke Barnard 2018-06-22 11:41:13 +01:00 committed by GitHub
commit 3aee0b56ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -125,9 +125,7 @@ export default React.createClass({
const av = <BaseAvatar name={groupName} width={24} height={24} url={httpAvatarUrl} />; const av = <BaseAvatar name={groupName} width={24} height={24} url={httpAvatarUrl} />;
const nameClasses = classNames({ const nameClasses = classNames('mx_RoomTile_name mx_RoomTile_invite mx_RoomTile_badgeShown', {
'mx_RoomTile_name': true,
'mx_RoomTile_invite': this.props.isInvite,
'mx_RoomTile_badgeShown': this.state.badgeHover || this.state.menuDisplayed, 'mx_RoomTile_badgeShown': this.state.badgeHover || this.state.menuDisplayed,
}); });