Skip to content

Commit

Permalink
docs: replace <br> with m-b-30 helper
Browse files Browse the repository at this point in the history
  • Loading branch information
jkusa committed Jan 14, 2021
1 parent 15193fb commit e5865cf
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions stories/input-group.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ export default {

export const Default = () => ({
template: hbs`
<DenaliInputGroup @label="Input Label">
<DenaliInputGroup @label="Input Label" class="m-b-30">
<DenaliInput placeholder="Input" />
</DenaliInputGroup>
<br>
<DenaliInputGroup @label="Switch Label">
<DenaliSwitch @onLabel="On" @offLabel="Off" />
</DenaliInputGroup>
Expand All @@ -28,25 +27,20 @@ export const Playground = () => ({
@isStacked={{isStacked}}
@isResponsive={{isResponsive}}
@hasAutoWidth={{hasAutoWidth}}
class="m-b-30"
>
<DenaliInput placeholder="Input" />
</DenaliInputGroup>
<br>
<DenaliInputGroup
@label={{label}}
@isStacked={{isStacked}}
@isResponsive={{isResponsive}}
@hasAutoWidth={{hasAutoWidth}}
class="m-b-30"
>
<DenaliSwitch @onLabel="On" @offLabel="Off" />
</DenaliInputGroup>
<br>
<DenaliInputGroup
@label={{label}}
@isStacked={{isStacked}}
@isResponsive={{isResponsive}}
@hasAutoWidth={{hasAutoWidth}}
>
`,
context: {
label: text('label', 'Label', argument),
Expand Down

0 comments on commit e5865cf

Please sign in to comment.