diff options
Diffstat (limited to 'client/src/sass')
-rw-r--r-- | client/src/sass/class-helpers.scss | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/client/src/sass/class-helpers.scss b/client/src/sass/class-helpers.scss index 87ad6a45d..f09d84882 100644 --- a/client/src/sass/class-helpers.scss +++ b/client/src/sass/class-helpers.scss | |||
@@ -70,7 +70,11 @@ | |||
70 | } | 70 | } |
71 | 71 | ||
72 | .input-error:not(:focus) { | 72 | .input-error:not(:focus) { |
73 | border-color: $red !important; | 73 | &, |
74 | & + .nav-preview, // Markdown textarea | ||
75 | & + * + .tab-content { | ||
76 | border-color: $red !important; | ||
77 | } | ||
74 | } | 78 | } |
75 | 79 | ||
76 | .form-error, | 80 | .form-error, |
@@ -83,8 +87,12 @@ | |||
83 | color: $red; | 87 | color: $red; |
84 | } | 88 | } |
85 | 89 | ||
86 | .input-error:focus + .form-error { | 90 | .input-error:focus { |
87 | color: pvar(--mainForegroundColor); | 91 | & + .form-error, |
92 | & + * + .form-error, // Markdown textarea | ||
93 | & + * + * + .form-error { | ||
94 | color: pvar(--mainForegroundColor); | ||
95 | } | ||
88 | } | 96 | } |
89 | 97 | ||
90 | .form-group-description { | 98 | .form-group-description { |