From a0236a9b7631a22305abfdb4b80545db69c0e4d3 Mon Sep 17 00:00:00 2001 From: wmwragg Date: Fri, 26 Aug 2016 09:57:02 +0100 Subject: [PATCH] Code tidy-up and better name for label container class --- src/components/structures/RoomSubList.js | 3 +-- src/skins/vector/css/vector-web/structures/RoomSubList.css | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index 3a6fecec..e1c65c98 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -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 ( -
+
{ this.props.collapsed ? '' : this.props.label }
{roomCount}
diff --git a/src/skins/vector/css/vector-web/structures/RoomSubList.css b/src/skins/vector/css/vector-web/structures/RoomSubList.css index cb80a8f7..8e3c228a 100644 --- a/src/skins/vector/css/vector-web/structures/RoomSubList.css +++ b/src/skins/vector/css/vector-web/structures/RoomSubList.css @@ -20,7 +20,7 @@ limitations under the License. width: 100%; } -.mx_RoomSubList_stickyContainer { +.mx_RoomSubList_labelContainer { height: 29px; position: relative; }