Fix minimized left panel alignment

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2020-12-15 14:45:10 +01:00
parent 70f24baaf1
commit e55ec43595
2 changed files with 8 additions and 7 deletions

View file

@ -180,6 +180,11 @@ $groupFilterPanelWidth: 56px; // only applies in this file, used for calculation
.mx_LeftPanel_roomListContainer { .mx_LeftPanel_roomListContainer {
width: 68px; width: 68px;
.mx_LeftPanel_userHeader {
flex-direction: row;
justify-content: center;
}
.mx_LeftPanel_filterContainer { .mx_LeftPanel_filterContainer {
// Organize the flexbox into a centered column layout // Organize the flexbox into a centered column layout
flex-direction: column; flex-direction: column;

View file

@ -119,14 +119,10 @@ limitations under the License.
} }
&.mx_UserMenu_minimized { &.mx_UserMenu_minimized {
.mx_UserMenu_userHeader { padding-right: 0px;
.mx_UserMenu_row {
justify-content: center;
}
.mx_UserMenu_userAvatarContainer { .mx_UserMenu_userAvatarContainer {
margin-right: 0; margin-right: 0px;
}
} }
} }
} }