Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4d623ea

Browse files
committed
updated fix
1 parent 4f7209e commit 4d623ea

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

res/css/structures/_SpacePanel.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ $activeBorderColor: $primary-content;
3434
// Create another flexbox so the Panel fills the container
3535
display: flex;
3636
flex-direction: column;
37-
width: 260px;
38-
39-
&.collapsed {
40-
width: auto;
41-
}
4237

4338
.mx_SpacePanel_toggleCollapse {
4439
position: absolute;
@@ -159,8 +154,10 @@ $activeBorderColor: $primary-content;
159154
align-items: center;
160155
border-radius: 12px;
161156
padding: 4px;
162-
width: 32px;
157+
width: calc(100% - 32px);
158+
min-width: 0;
163159
}
160+
164161
.mx_SpaceButton_name {
165162
flex: 1;
166163
margin-left: 8px;
@@ -278,6 +275,7 @@ $activeBorderColor: $primary-content;
278275
display: flex;
279276
flex-direction: column;
280277
max-width: 250px;
278+
min-width: 0;
281279
flex-grow: 1;
282280

283281
.mx_BaseAvatar:not(.mx_UserMenu_userAvatar_BaseAvatar) .mx_BaseAvatar_initial {
@@ -331,6 +329,7 @@ $activeBorderColor: $primary-content;
331329
display: block;
332330
}
333331
}
332+
334333
.mx_SpaceItem:not(.mx_SpaceItem_new) {
335334
.mx_SpaceButton:hover,
336335
.mx_SpaceButton:focus-within,

0 commit comments

Comments
 (0)