From 5ab958cc9fe81946cd47d66ff8c075508a51493c Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 11 Jul 2019 13:14:20 +0100 Subject: [PATCH] Fix field styling regression The extra comma in the selectors caused this rule set to be ignored. Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3200 Fixes https://github.com/vector-im/riot-web/issues/10311 --- res/css/views/auth/_AuthBody.scss | 2 +- res/css/views/elements/_Field.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/css/views/auth/_AuthBody.scss b/res/css/views/auth/_AuthBody.scss index ca50766324..49a87d8077 100644 --- a/res/css/views/auth/_AuthBody.scss +++ b/res/css/views/auth/_AuthBody.scss @@ -59,7 +59,7 @@ limitations under the License. } .mx_Field_labelAlwaysTopLeft label, - .mx_Field select + label, /* Always show a select's label on top to not collide with the value */, + .mx_Field select + label /* Always show a select's label on top to not collide with the value */, .mx_Field input:focus + label, .mx_Field input:not(:placeholder-shown) + label, .mx_Field textarea:focus + label, diff --git a/res/css/views/elements/_Field.scss b/res/css/views/elements/_Field.scss index 975f7c2e78..0e8252e89d 100644 --- a/res/css/views/elements/_Field.scss +++ b/res/css/views/elements/_Field.scss @@ -111,7 +111,7 @@ limitations under the License. } .mx_Field_labelAlwaysTopLeft label, -.mx_Field select + label, /* Always show a select's label on top to not collide with the value */, +.mx_Field select + label /* Always show a select's label on top to not collide with the value */, .mx_Field input:focus + label, .mx_Field input:not(:placeholder-shown) + label, .mx_Field textarea:focus + label,