diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/_Dropdown.scss b/src/skins/vector/css/matrix-react-sdk/views/elements/_Dropdown.scss index 2ddbb36c..69dd1703 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/_Dropdown.scss +++ b/src/skins/vector/css/matrix-react-sdk/views/elements/_Dropdown.scss @@ -56,6 +56,12 @@ limitations under the License. left: 10px; } +.mx_Dropdown_input > .mx_Dropdown_option { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + .mx_Dropdown.left_aligned .mx_Dropdown_input > .mx_Dropdown_option { padding-left: 25px; } @@ -104,6 +110,11 @@ input.mx_Dropdown_option, input.mx_Dropdown_option:focus { overflow-y: auto; } +.mx_Dropdown_menu .mx_Dropdown_option { + height: auto; + min-height: 35px; +} + .mx_Dropdown_menu .mx_Dropdown_option_highlight { background-color: $focus-bg-color; }