PR comments adjustments

This commit is contained in:
danielcaldas 2019-10-01 00:08:16 +02:00 committed by Sean Yesmunt
parent ad2425f275
commit a4454945d7
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -48,5 +48,5 @@
.comment__char-count {
align-self: flex-end;
font-size: 12px;
font-size: var(--font-label);
}