Improve style of DialogSidebar (of live location map) (#8760)

pull/28788/head^2
Suguru Hirahara 2022-06-08 08:38:20 +00:00 committed by GitHub
parent 46f07a8edb
commit 8362174039
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 30 deletions

View File

@ -29,34 +29,29 @@ limitations under the License.
background-color: $background; background-color: $background;
box-shadow: 0px 4px 4px $menu-box-shadow-color; box-shadow: 0px 4px 4px $menu-box-shadow-color;
}
.mx_DialogSidebar_header {
.mx_DialogSidebar_header { display: flex;
display: flex; align-items: center;
flex-direction: row; justify-content: space-between;
align-items: center;
justify-content: space-between; flex: 0 0;
margin-bottom: $spacing-16;
flex: 0 0;
margin-bottom: $spacing-16; color: $primary-content;
color: $primary-content; .mx_DialogSidebar_closeButtonIcon {
} color: $tertiary-content;
height: 12px;
.mx_DialogSidebar_closeButton { }
@mixin ButtonResetDefault; }
}
.mx_DialogSidebar_list {
.mx_DialogSidebar_closeButtonIcon { list-style: none;
color: $tertiary-content; padding: 0;
height: 12px; margin: 0;
} flex: 1 1 0;
width: 100%;
.mx_DialogSidebar_list { overflow: auto;
list-style: none; }
padding: 0;
margin: 0;
flex: 1 1 0;
width: 100%;
overflow: auto;
} }