aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-06-20 16:49:07 +0200
committerChocobozzz <me@florianbigard.com>2022-06-20 16:49:07 +0200
commita3d15b64711c7b7109d256c82094ee20c2c3df9a (patch)
tree58a1afebf3f541052a929c4601bac437f19ab93f
parent75084782b767f51f6158ada1984cf339c6302960 (diff)
downloadPeerTube-a3d15b64711c7b7109d256c82094ee20c2c3df9a.tar.gz
PeerTube-a3d15b64711c7b7109d256c82094ee20c2c3df9a.tar.zst
PeerTube-a3d15b64711c7b7109d256c82094ee20c2c3df9a.zip
Reduce form error font size
-rw-r--r--client/src/sass/class-helpers.scss11
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}