1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Actually fix the layout bug without re-regressing the prior issue

This commit is contained in:
Michael Telatynski
2021-05-04 14:14:06 +01:00
parent 4489f8a6ea
commit caa772348f
2 changed files with 5 additions and 2 deletions

View File

@@ -297,6 +297,7 @@ export class SpaceItem extends React.PureComponent<IItemProps, IItemState> {
const isActive = activeSpaces.includes(space);
const itemClasses = classNames({
"mx_SpaceItem": true,
"mx_SpaceItem_narrow": isNarrow,
"collapsed": collapsed,
"hasSubSpaces": childSpaces && childSpaces.length,
});