PR comments adjustments
This commit is contained in:
parent
ad2425f275
commit
a4454945d7
2 changed files with 2 additions and 2 deletions
|
@ -148,7 +148,7 @@ export class FormField extends React.PureComponent<Props> {
|
|||
} else if (type === 'textarea') {
|
||||
const hasCharCount = charCount !== undefined && charCount >= 0;
|
||||
const countInfo = hasCharCount && (
|
||||
<span className="comment__char-count">{`${charCount || ''}/${textAreaMaxLength}`}</span>
|
||||
<span className="comment__char-count">{`${charCount || '0'}/${textAreaMaxLength}`}</span>
|
||||
);
|
||||
input = (
|
||||
<fieldset-section>
|
||||
|
|
|
@ -48,5 +48,5 @@
|
|||
|
||||
.comment__char-count {
|
||||
align-self: flex-end;
|
||||
font-size: 12px;
|
||||
font-size: var(--font-label);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue