Skip to content

Commit

Permalink
fix(Storybook): move margin to wrapper (#9154)
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan committed Jul 9, 2021
1 parent d6041f7 commit fb96217
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions packages/react/src/components/FormGroup/FormGroup-story.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,12 @@ export const _Default = () => (
legendId="formgroup-legend-id"
legendText="FormGroup Legend"
style={{ maxWidth: '400px' }}>
<TextInput
id="one"
labelText="First Name"
style={{ marginBottom: '1rem' }}
/>
<TextInput
id="two"
labelText="Last Name"
style={{ marginBottom: '1rem' }}
/>
<div style={{ marginBottom: '1rem' }}>
<TextInput id="one" labelText="First Name" />
</div>
<div style={{ marginBottom: '1rem' }}>
<TextInput id="two" labelText="Last Name" />
</div>

<RadioButtonGroup
legendText="Radio button heading"
Expand Down

0 comments on commit fb96217

Please sign in to comment.