Skip to content

Commit

Permalink
Code tidy-up and better name for label container class
Browse files Browse the repository at this point in the history
  • Loading branch information
wmwragg committed Aug 26, 2016
1 parent 4cb1f8a commit a0236a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/components/structures/RoomSubList.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/skins/vector/css/vector-web/structures/RoomSubList.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.
width: 100%;
}

.mx_RoomSubList_stickyContainer {
.mx_RoomSubList_labelContainer {
height: 29px;
position: relative;
}
Expand Down

0 comments on commit a0236a9

Please sign in to comment.