From 8362174039e69121d96e08be2013546d9d1bbe69 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Wed, 8 Jun 2022 08:38:20 +0000 Subject: [PATCH] Improve style of DialogSidebar (of live location map) (#8760) --- .../views/beacon/_DialogSidebar.scss | 55 +++++++++---------- 1 file changed, 25 insertions(+), 30 deletions(-) diff --git a/res/css/components/views/beacon/_DialogSidebar.scss b/res/css/components/views/beacon/_DialogSidebar.scss index af198bd903..1edf5840e3 100644 --- a/res/css/components/views/beacon/_DialogSidebar.scss +++ b/res/css/components/views/beacon/_DialogSidebar.scss @@ -29,34 +29,29 @@ limitations under the License. background-color: $background; box-shadow: 0px 4px 4px $menu-box-shadow-color; -} - -.mx_DialogSidebar_header { - display: flex; - flex-direction: row; - align-items: center; - justify-content: space-between; - - flex: 0 0; - margin-bottom: $spacing-16; - - color: $primary-content; -} - -.mx_DialogSidebar_closeButton { - @mixin ButtonResetDefault; -} - -.mx_DialogSidebar_closeButtonIcon { - color: $tertiary-content; - height: 12px; -} - -.mx_DialogSidebar_list { - list-style: none; - padding: 0; - margin: 0; - flex: 1 1 0; - width: 100%; - overflow: auto; + + .mx_DialogSidebar_header { + display: flex; + align-items: center; + justify-content: space-between; + + flex: 0 0; + margin-bottom: $spacing-16; + + color: $primary-content; + + .mx_DialogSidebar_closeButtonIcon { + color: $tertiary-content; + height: 12px; + } + } + + .mx_DialogSidebar_list { + list-style: none; + padding: 0; + margin: 0; + flex: 1 1 0; + width: 100%; + overflow: auto; + } }