Code tidy-up and better name for label container class

pull/2028/head
wmwragg 2016-08-26 09:57:02 +01:00
parent 4cb1f8a226
commit a0236a9b76
2 changed files with 2 additions and 3 deletions

View File

@ -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>

View File

@ -20,7 +20,7 @@ limitations under the License.
width: 100%;
}
.mx_RoomSubList_stickyContainer {
.mx_RoomSubList_labelContainer {
height: 29px;
position: relative;
}