Skip to content

Commit

Permalink
Merge pull request #452 from p3ol/fix/fix-styles-in-card-stories
Browse files Browse the repository at this point in the history
πŸ› fix: fix form styles in card stories
  • Loading branch information
dackmin authored Feb 26, 2021
2 parents e63347d + 6fc369c commit 5139a36
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions packages/junipero/lib/Card/index.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,15 @@ const Form = () => (
some hand crafted card header & footer, and a nice box shadow that will
melt your 2001 ATI graphics card.</div>
<div style={styles.form}>
<TextField
style={styles.formItem}
label="Label"
value="Thomas Bangalter"
/>
<TextField
style={styles.formItem}
label="Label"
type="password"
value="securePassword"
/>
<Button style={styles.formItem} className="primary">Update</Button>
<div style={styles.formItem}>
<TextField label="Label" value="Thomas Bangalter" />
</div>
<div style={styles.formItem}>
<TextField label="Label" type="password" value="securePassword" />
</div>
<div style={styles.formItem}>
<Button className="primary">Update</Button>
</div>
</div>
</React.Fragment>
);
Expand Down

0 comments on commit 5139a36

Please sign in to comment.