mirror of https://github.com/Chocobozzz/PeerTube
Reduce form error font size
parent
75084782b7
commit
a3d15b6471
|
@ -71,8 +71,8 @@
|
||||||
|
|
||||||
.input-error:not(:focus) {
|
.input-error:not(:focus) {
|
||||||
&,
|
&,
|
||||||
& + .nav-preview, // Markdown textarea
|
+ .nav-preview, // Markdown textarea
|
||||||
& + * + .tab-content {
|
+ * + .tab-content {
|
||||||
border-color: $red !important;
|
border-color: $red !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -85,6 +85,7 @@
|
||||||
.form-warning {
|
.form-warning {
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
font-size: 0.9em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-error {
|
.form-error {
|
||||||
|
@ -94,9 +95,9 @@
|
||||||
// Disable red error on input focus
|
// Disable red error on input focus
|
||||||
.input-error:focus,
|
.input-error:focus,
|
||||||
.input-group:focus-within {
|
.input-group:focus-within {
|
||||||
& + .form-error,
|
+ .form-error,
|
||||||
& + * + .form-error, // Markdown textarea
|
+ * + .form-error, // Markdown textarea
|
||||||
& + * + * + .form-error {
|
+ * + * + .form-error {
|
||||||
color: pvar(--mainForegroundColor);
|
color: pvar(--mainForegroundColor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue