From aa5a2e13630de5c22864606b29ed44026dc206d8 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 30 May 2023 08:59:00 +0100 Subject: [PATCH] Fix layout regression in session dropdown (#10999) * Fix layout regression in session dropdown * Fix layout regression in session dropdown --- res/css/views/elements/_Dropdown.pcss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/res/css/views/elements/_Dropdown.pcss b/res/css/views/elements/_Dropdown.pcss index 23edac35cf..4060dab176 100644 --- a/res/css/views/elements/_Dropdown.pcss +++ b/res/css/views/elements/_Dropdown.pcss @@ -58,8 +58,8 @@ limitations under the License. .mx_Dropdown_option { height: 35px; line-height: $font-35px; - padding-left: 8px; - padding-right: 8px; + // Overwrites the default padding for any li elements + padding: 0 8px; } .mx_Dropdown_input > .mx_Dropdown_option { @@ -121,6 +121,10 @@ input.mx_Dropdown_option:focus { min-height: 35px; } +ul.mx_Dropdown_menu li.mx_Dropdown_option { + list-style: none; +} + .mx_Dropdown_menu .mx_Dropdown_option_highlight { background-color: $focus-bg-color; }