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

Fixes "space panel kebab menu is rendered out of view on sub spaces" #8350

Merged
merged 10 commits into from
Apr 30, 2022
9 changes: 6 additions & 3 deletions res/css/structures/_SpacePanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ $activeBorderColor: $primary-content;
// Create another flexbox so the Panel fills the container
display: flex;
flex-direction: column;
width: 260px;

&.collapsed {
width: auto;
}

.mx_SpacePanel_toggleCollapse {
position: absolute;
Expand Down Expand Up @@ -154,9 +159,8 @@ $activeBorderColor: $primary-content;
align-items: center;
border-radius: 12px;
padding: 4px;
width: calc(100% - 32px);
width: 32px;
robintown marked this conversation as resolved.
Show resolved Hide resolved
}

robintown marked this conversation as resolved.
Show resolved Hide resolved
.mx_SpaceButton_name {
flex: 1;
margin-left: 8px;
Expand Down Expand Up @@ -327,7 +331,6 @@ $activeBorderColor: $primary-content;
display: block;
}
}

robintown marked this conversation as resolved.
Show resolved Hide resolved
.mx_SpaceItem:not(.mx_SpaceItem_new) {
.mx_SpaceButton:hover,
.mx_SpaceButton:focus-within,
Expand Down