diff options
Diffstat (limited to 'client/src/sass/class-helpers.scss')
-rw-r--r-- | client/src/sass/class-helpers.scss | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/src/sass/class-helpers.scss b/client/src/sass/class-helpers.scss index f09d84882..2994a57ae 100644 --- a/client/src/sass/class-helpers.scss +++ b/client/src/sass/class-helpers.scss | |||
@@ -77,6 +77,10 @@ | |||
77 | } | 77 | } |
78 | } | 78 | } |
79 | 79 | ||
80 | .input-group .input-error { | ||
81 | z-index: 3; | ||
82 | } | ||
83 | |||
80 | .form-error, | 84 | .form-error, |
81 | .form-warning { | 85 | .form-warning { |
82 | display: block; | 86 | display: block; |
@@ -87,7 +91,9 @@ | |||
87 | color: $red; | 91 | color: $red; |
88 | } | 92 | } |
89 | 93 | ||
90 | .input-error:focus { | 94 | // Disable red error on input focus |
95 | .input-error:focus, | ||
96 | .input-group:focus-within { | ||
91 | & + .form-error, | 97 | & + .form-error, |
92 | & + * + .form-error, // Markdown textarea | 98 | & + * + .form-error, // Markdown textarea |
93 | & + * + * + .form-error { | 99 | & + * + * + .form-error { |