forked from matrix/element-web
Code tidy-up and better name for label container class
This commit is contained in:
parent
4cb1f8a226
commit
a0236a9b76
|
@ -79,7 +79,6 @@ var RoomSubList = React.createClass({
|
|||
incomingCall: React.PropTypes.object,
|
||||
onShowMoreRooms: React.PropTypes.func,
|
||||
searchFilter: React.PropTypes.string,
|
||||
headerStack: React.PropTypes.func,
|
||||
},
|
||||
|
||||
getInitialState: function() {
|
||||
|
@ -407,7 +406,7 @@ var RoomSubList = React.createClass({
|
|||
}
|
||||
|
||||
return (
|
||||
<div className="mx_RoomSubList_stickyContainer">
|
||||
<div className="mx_RoomSubList_labelContainer">
|
||||
<div onClick={ this.onClick } className="mx_RoomSubList_label">
|
||||
{ this.props.collapsed ? '' : this.props.label }
|
||||
<div className="mx_RoomSubList_roomCount">{roomCount}</div>
|
||||
|
|
|
@ -20,7 +20,7 @@ limitations under the License.
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.mx_RoomSubList_stickyContainer {
|
||||
.mx_RoomSubList_labelContainer {
|
||||
height: 29px;
|
||||
position: relative;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue