From b093119d303849e3c0c2278038cba7825a104788 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 30 Jan 2019 15:48:08 -0600 Subject: [PATCH] Move dropdown arrow to primary element --- res/css/views/auth/_LanguageSelector.scss | 2 +- res/css/views/elements/_Dropdown.scss | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/res/css/views/auth/_LanguageSelector.scss b/res/css/views/auth/_LanguageSelector.scss index be40c9e6cd..89232ab8af 100644 --- a/res/css/views/auth/_LanguageSelector.scss +++ b/res/css/views/auth/_LanguageSelector.scss @@ -25,6 +25,6 @@ limitations under the License. color: $authpage-lang-color; } -.mx_Auth_language .mx_Dropdown_arrow::before { +.mx_Auth_language .mx_Dropdown_arrow { background: $authpage-lang-color; } diff --git a/res/css/views/elements/_Dropdown.scss b/res/css/views/elements/_Dropdown.scss index 9d4fb5c4a9..f83a754810 100644 --- a/res/css/views/elements/_Dropdown.scss +++ b/res/css/views/elements/_Dropdown.scss @@ -42,20 +42,9 @@ limitations under the License. } .mx_Dropdown_arrow { - display: block; - position: relative; width: 10px; height: 6px; padding-right: 8px; -} - -.mx_Dropdown_arrow::before { - content: ""; - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; mask: url('$(res)/img/feather-icons/dropdown-arrow.svg'); mask-repeat: no-repeat; background: $primary-fg-color;