mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-18 02:41:41 +02:00
clear height flexbox properties when collapsing
so item doesn't maintain height given by resizing
This commit is contained in:
parent
4d53e13a28
commit
a69463e7fa
@ -344,7 +344,7 @@ const RoomSubList = React.createClass({
|
|||||||
"mx_RoomSubList_nonEmpty": len && !this.state.hidden,
|
"mx_RoomSubList_nonEmpty": len && !this.state.hidden,
|
||||||
});
|
});
|
||||||
if (this.state.hidden) {
|
if (this.state.hidden) {
|
||||||
return <div className={subListClasses}>
|
return <div className={subListClasses} style={{flexBasis: "unset", flexGrow: "unset"}}>
|
||||||
{this._getHeaderJsx()}
|
{this._getHeaderJsx()}
|
||||||
</div>;
|
</div>;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user