small adjustments to secondary form text

This commit is contained in:
keyan 2023-10-26 15:12:21 -05:00
parent 7589295e8c
commit 835554b3cd
2 changed files with 5 additions and 1 deletions

View File

@ -401,7 +401,7 @@ function InputInner ({
</BootstrapForm.Text>
)}
{maxLength && !(meta.touched && meta.error && invalid) && (
<BootstrapForm.Text className={remaining < 0 ? 'text-danger' : undefined}>
<BootstrapForm.Text className={remaining < 0 ? 'text-danger' : 'text-muted'}>
{`${numWithUnits(remaining, { abbreviate: false, unitSingular: 'character', unitPlural: 'characters' })} remaining`}
</BootstrapForm.Text>
)}

View File

@ -555,6 +555,10 @@ div[contenteditable] {
font-weight: bold;
}
.form-label .text-muted {
font-weight: normal;
}
.alert-dismissible .btn-close {
font-weight: 300;
font-family: "lightning";