Skip to content

Commit dcea0dd

Browse files
committed
Move min-height to RoomList; remove bottommost prop
1 parent dc1e201 commit dcea0dd

3 files changed

Lines changed: 2 additions & 8 deletions

File tree

‎src/components/structures/RoomSubList.js‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ var RoomSubList = React.createClass({
6161
tagName: React.PropTypes.string,
6262
editable: React.PropTypes.bool,
6363
order: React.PropTypes.string.isRequired,
64-
bottommost: React.PropTypes.bool,
6564
selectedRoom: React.PropTypes.string.isRequired,
6665
activityMap: React.PropTypes.object.isRequired,
6766
startAsHidden: React.PropTypes.bool,
@@ -290,8 +289,7 @@ var RoomSubList = React.createClass({
290289

291290
if (this.state.sortedList.length > 0 || this.props.editable) {
292291
var subList;
293-
var classes = "mx_RoomSubList" +
294-
(this.props.bottommost ? " mx_RoomSubList_bottommost" : "");
292+
var classes = "mx_RoomSubList";
295293

296294
if (!this.state.hidden) {
297295
subList = <div className={ classes }>

‎src/skins/vector/css/organisms/RoomList.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ limitations under the License.
1717
.mx_RoomList {
1818
padding-top: 24px;
1919
padding-bottom: 12px;
20+
min-height: 400px;
2021
}
2122

2223
.mx_RoomList_expandButton {

‎src/skins/vector/css/organisms/RoomSubList.css‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ limitations under the License.
2020
width: 100%;
2121
}
2222

23-
.mx_RoomSubList_bottommost {
24-
/* XXX: this should really be 100% of the RoomList height, but can't seem to get at it */
25-
min-height: 400px;
26-
}
27-
2823
.mx_RoomSubList_label {
2924
text-transform: uppercase;
3025
color: #3d3b39;

0 commit comments

Comments
 (0)