From e5934c12b4e918c9eb5de7ef942e02af8b2c7cbb Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 7 Feb 2019 11:58:15 -0700 Subject: [PATCH 1/2] Render disabled mxField textareas as disabled Fixes https://github.com/vector-im/riot-web/issues/8440 --- res/css/views/elements/_Field.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/res/css/views/elements/_Field.scss b/res/css/views/elements/_Field.scss index 6f215412db6..d3743d48cff 100644 --- a/res/css/views/elements/_Field.scss +++ b/res/css/views/elements/_Field.scss @@ -112,7 +112,9 @@ limitations under the License. } .mx_Field select:disabled, -.mx_Field input:disabled { +.mx_Field input:disabled, +.mx_Field textarea:disabled, +.mx_Field textarea:disabled + label { background-color: $field-focused-label-bg-color; color: $greyed-fg-color; } From debac609809f83467bce69f474453ee3e1beb2fd Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 8 Feb 2019 09:52:14 -0700 Subject: [PATCH 2/2] Include input and select labels in disabled stlyes --- res/css/views/elements/_Field.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/res/css/views/elements/_Field.scss b/res/css/views/elements/_Field.scss index d3743d48cff..6ce6b33a052 100644 --- a/res/css/views/elements/_Field.scss +++ b/res/css/views/elements/_Field.scss @@ -112,7 +112,9 @@ limitations under the License. } .mx_Field select:disabled, +.mx_Field select:disabled + label, .mx_Field input:disabled, +.mx_Field input:disabled + label, .mx_Field textarea:disabled, .mx_Field textarea:disabled + label { background-color: $field-focused-label-bg-color;