Skip to content

Commit

Permalink
Replace CSS margin with Spacer
Browse files Browse the repository at this point in the history
  • Loading branch information
brookewp committed Mar 18, 2023
1 parent 93b7d57 commit 1103913
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/components/src/form-token-field/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
StyledHelp,
StyledLabel,
} from '../base-control/styles/base-control-styles';
import { Spacer } from '../spacer';

const identity = ( value: string ) => value;

Expand Down Expand Up @@ -729,6 +730,7 @@ export function FormTokenField( props: FormTokenFieldProps ) {
/>
) }
</div>
<Spacer marginBottom={ ! __nextHasNoMarginBottom ? 2 : 0 } />
{ __experimentalShowHowTo && (
<StyledHelp
id={ `components-form-token-suggestions-howto-${ instanceId }` }
Expand Down

0 comments on commit 1103913

Please sign in to comment.