From a3d15b64711c7b7109d256c82094ee20c2c3df9a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 20 Jun 2022 16:49:07 +0200 Subject: [PATCH] Reduce form error font size --- client/src/sass/class-helpers.scss | 11 ++++++----- 1 file 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 @@ .input-error:not(:focus) { &, - & + .nav-preview, // Markdown textarea - & + * + .tab-content { + + .nav-preview, // Markdown textarea + + * + .tab-content { border-color: $red !important; } } @@ -85,6 +85,7 @@ .form-warning { display: block; margin-top: 5px; + font-size: 0.9em; } .form-error { @@ -94,9 +95,9 @@ // Disable red error on input focus .input-error:focus, .input-group:focus-within { - & + .form-error, - & + * + .form-error, // Markdown textarea - & + * + * + .form-error { + + .form-error, + + * + .form-error, // Markdown textarea + + * + * + .form-error { color: pvar(--mainForegroundColor); } }