align room sub list header with design

also make css more maintainable with less hardcoded dimensions
This commit is contained in:
Bruno Windels 2018-11-06 14:03:01 +01:00
parent 3ce52d104c
commit 3bd0bcde4b
2 changed files with 26 additions and 49 deletions

View file

@ -325,7 +325,7 @@ const RoomSubList = React.createClass({
<div className="mx_RoomSubList_labelContainer" title={ title } ref="header">
<AccessibleButton onClick={ this.onClick } className="mx_RoomSubList_label" tabIndex={tabindex}>
{ chevron }
{ this.props.collapsed ? '' : this.props.label }
<span>{this.props.label}</span>
{ incomingCall }
</AccessibleButton>
{ badge }