]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Reduce form error font size
authorChocobozzz <me@florianbigard.com>
Mon, 20 Jun 2022 14:49:07 +0000 (16:49 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 20 Jun 2022 14:49:07 +0000 (16:49 +0200)
client/src/sass/class-helpers.scss

index 2994a57ae8d809cc4d16d12f3b46a4965991cc28..2d7e0cce9b544281a755575d684655a719eac423 100644 (file)
@@ -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);
   }
 }