1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

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 }