1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-22 04:02:40 +03:00

Merge pull request #2234 from matrix-org/bwindels/roomsectionfixcollapsedsize

Redesign: Fix room lists sizing
This commit is contained in:
Bruno Windels
2018-10-24 12:23:05 +00:00
committed by GitHub
5 changed files with 5 additions and 2 deletions

View File

@@ -344,7 +344,7 @@ const RoomSubList = React.createClass({
"mx_RoomSubList_nonEmpty": len && !this.state.hidden,
});
if (this.state.hidden) {
return <div className={subListClasses}>
return <div className={subListClasses} style={{flexBasis: "unset", flexGrow: "unset"}}>
{this._getHeaderJsx()}
</div>;
} else {