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

add additional classes which protect the text from overflowing
This commit is contained in:
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

View file

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