Reduce form error font size

This commit is contained in:
Chocobozzz 2022-06-20 16:49:07 +02:00
parent 75084782b7
commit a3d15b6471
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 6 additions and 5 deletions

View 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);
}
}