Render mini user menu for when space panel is disabled (#7258)

This commit is contained in:
Michael Telatynski 2021-12-02 15:44:01 +00:00 committed by GitHub
parent d3c556bef7
commit 0a99be3d65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 23 additions and 5 deletions

View file

@ -111,6 +111,11 @@ $roomListCollapsedWidth: 68px;
display: flex;
align-items: center;
.mx_UserMenu {
// mini-mode for when Space Panel is disabled
margin-right: 12px;
}
& + .mx_RoomListHeader {
margin-top: 12px;
}

View file

@ -349,6 +349,12 @@ $activeBorderColor: $primary-content;
mask-image: linear-gradient(180deg, transparent, black 5%, black 95%, transparent);
}
}
.mx_UserMenu {
padding: 0 2px 8px;
border-bottom: 1px solid $quinary-content;
margin: 12px 14px 4px 18px;
}
}
.mx_SpacePanel_contextMenu {

View file

@ -15,9 +15,6 @@ limitations under the License.
*/
.mx_UserMenu {
padding: 0 2px 8px;
border-bottom: 1px solid $quinary-content;
margin: 12px 14px 4px 18px;
box-sizing: border-box;
display: flex;
align-items: center;