mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 02:35:48 +03:00
Actually fix the layout bug without re-regressing the prior issue
This commit is contained in:
parent
4489f8a6ea
commit
caa772348f
2 changed files with 5 additions and 2 deletions
|
@ -79,8 +79,10 @@ $activeBorderColor: $secondary-fg-color;
|
|||
.mx_SpaceItem {
|
||||
display: inline-flex;
|
||||
flex-flow: wrap;
|
||||
align-self: baseline;
|
||||
width: 100%;
|
||||
|
||||
&.mx_SpaceItem_narrow {
|
||||
align-self: baseline;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_SpaceItem.collapsed {
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue