From d0adfb64697cc6d1e87c50aecc204425d6927a9c Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 18 May 2017 14:03:27 +0100 Subject: [PATCH] CSS for left_aligned Dropdowns, and adjustments for Country dd in Login --- .../css/matrix-react-sdk/structures/login/_Login.scss | 2 +- .../css/matrix-react-sdk/views/elements/_Dropdown.scss | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss b/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss index dc7abc4bd4..ebd59a1c24 100644 --- a/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss +++ b/src/skins/vector/css/matrix-react-sdk/structures/login/_Login.scss @@ -237,7 +237,7 @@ limitations under the License. .mx_Login_phoneCountry { margin-bottom: 14px; - width: 145px; + width: 150px; /* To override mx_Login_field_prefix */ text-align: left; 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 5e4b9f3990..637c5d124b 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 @@ -48,6 +48,14 @@ limitations under the License. width: 0 } +.mx_Dropdown.left_aligned .mx_Dropdown_arrow { + left: 10px; +} + +.mx_Dropdown.left_aligned .mx_Dropdown_input > .mx_Dropdown_option { + padding-left: 25px; +} + .mx_Dropdown_option { height: 35px; line-height: 35px;