Skip to content

Commit

Permalink
updates based on review
Browse files Browse the repository at this point in the history
  • Loading branch information
marekhrabe committed May 6, 2019
1 parent 70a96f1 commit 919e436
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions packages/components/src/form-token-field/index.js
Expand Up @@ -583,12 +583,12 @@ class FormTokenField extends Component {
/>
) }
</div>
<div id={ `components-form-token-suggestions-howto-${ instanceId }` } className="components-form-token-field__help">
<p id={ `components-form-token-suggestions-howto-${ instanceId }` } className="components-form-token-field__help">
{ this.props.tokenizeOnSpace ?
__( 'Separate using commas, spaces or the enter key' ) :
__( 'Separate using commas or the enter key' )
__( 'Separate using commas, spaces, or the Enter key' ) :
__( 'Separate using commas or the Enter key' )
}
</div>
</p>
</div>
);
/* eslint-enable jsx-a11y/no-static-element-interactions */
Expand Down
3 changes: 1 addition & 2 deletions packages/components/src/form-token-field/style.scss
Expand Up @@ -46,12 +46,11 @@
}

.components-form-token-field__label {
display: block;
display: inline-block;
margin-bottom: $grid-size-small;
}

.components-form-token-field__help {
display: block;
font-style: italic;
}

Expand Down

0 comments on commit 919e436

Please sign in to comment.