diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/sass/class-helpers.scss | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/client/src/sass/class-helpers.scss b/client/src/sass/class-helpers.scss index 2994a57ae..2d7e0cce9 100644 --- a/client/src/sass/class-helpers.scss +++ b/client/src/sass/class-helpers.scss | |||
@@ -71,8 +71,8 @@ | |||
71 | 71 | ||
72 | .input-error:not(:focus) { | 72 | .input-error:not(:focus) { |
73 | &, | 73 | &, |
74 | & + .nav-preview, // Markdown textarea | 74 | + .nav-preview, // Markdown textarea |
75 | & + * + .tab-content { | 75 | + * + .tab-content { |
76 | border-color: $red !important; | 76 | border-color: $red !important; |
77 | } | 77 | } |
78 | } | 78 | } |
@@ -85,6 +85,7 @@ | |||
85 | .form-warning { | 85 | .form-warning { |
86 | display: block; | 86 | display: block; |
87 | margin-top: 5px; | 87 | margin-top: 5px; |
88 | font-size: 0.9em; | ||
88 | } | 89 | } |
89 | 90 | ||
90 | .form-error { | 91 | .form-error { |
@@ -94,9 +95,9 @@ | |||
94 | // Disable red error on input focus | 95 | // Disable red error on input focus |
95 | .input-error:focus, | 96 | .input-error:focus, |
96 | .input-group:focus-within { | 97 | .input-group:focus-within { |
97 | & + .form-error, | 98 | + .form-error, |
98 | & + * + .form-error, // Markdown textarea | 99 | + * + .form-error, // Markdown textarea |
99 | & + * + * + .form-error { | 100 | + * + * + .form-error { |
100 | color: pvar(--mainForegroundColor); | 101 | color: pvar(--mainForegroundColor); |
101 | } | 102 | } |
102 | } | 103 | } |