Skip to content

Commit

Permalink
Fix id conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenhitchon committed Aug 28, 2023
1 parent c98cbe8 commit d59c33a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/components/popover/blank.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -9,31 +9,31 @@ page: true

<div class="nsw-list nsw-list--8">
{{#each model.top}}
{{>_popover style="dark" icon="expand_less" icon-after="true" text=this id=@index position=@key gap="10"}}
{{>_popover style="dark" icon="expand_less" icon-after="true" text=this id=@key position=@key gap="10"}}
{{/each}}
</div>

<h3>Right</h3>

<div class="nsw-list nsw-list--8">
{{#each model.right}}
{{>_popover style="dark" icon="chevron_right" icon-after="true" text=this id=@index position=@key gap="10"}}
{{>_popover style="dark" icon="chevron_right" icon-after="true" text=this id=@key position=@key gap="10"}}
{{/each}}
</div>

<h3>Bottom</h3>

<div class="nsw-list nsw-list--8">
{{#each model.bottom}}
{{>_popover style="dark" icon="expand_more" icon-after="true" text=this id=@index position=@key gap="10"}}
{{>_popover style="dark" icon="expand_more" icon-after="true" text=this id=@key position=@key gap="10"}}
{{/each}}
</div>

<h3>Left</h3>

<div class="nsw-list nsw-list--8">
{{#each model.left}}
{{>_popover style="dark" icon="expand_more" icon-after="true" text=this id=@index position=@key gap="10"}}
{{>_popover style="dark" icon="expand_more" icon-after="true" text=this id=@key position=@key gap="10"}}
{{/each}}
</div>
{{/_layout-container}}
8 changes: 4 additions & 4 deletions src/components/popover/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ meta-index: true
{{#>_docs-example separated="true"}}
<div class="nsw-list nsw-list--8">
{{#each model.top}}
{{>_popover style="dark" icon="expand_less" icon-after="true" text=this id=@index position=@key gap="10"}}
{{>_popover style="dark" icon="expand_less" icon-after="true" text=this id=@key position=@key gap="10"}}
{{/each}}
</div>
{{/_docs-example}}
Expand All @@ -22,7 +22,7 @@ meta-index: true
{{#>_docs-example separated="true"}}
<div class="nsw-list nsw-list--8">
{{#each model.right}}
{{>_popover style="dark" icon="chevron_right" icon-after="true" text=this id=@index position=@key gap="10"}}
{{>_popover style="dark" icon="chevron_right" icon-after="true" text=this id=@key position=@key gap="10"}}
{{/each}}
</div>
{{/_docs-example}}
Expand All @@ -31,7 +31,7 @@ meta-index: true
{{#>_docs-example separated="true"}}
<div class="nsw-list nsw-list--8">
{{#each model.bottom}}
{{>_popover style="dark" icon="expand_more" icon-after="true" text=this id=@index position=@key gap="10"}}
{{>_popover style="dark" icon="expand_more" icon-after="true" text=this id=@key position=@key gap="10"}}
{{/each}}
</div>
{{/_docs-example}}
Expand All @@ -40,7 +40,7 @@ meta-index: true
{{#>_docs-example separated="true"}}
<div class="nsw-list nsw-list--8">
{{#each model.left}}
{{>_popover style="dark" icon="expand_more" icon-after="true" text=this id=@index position=@key gap="10"}}
{{>_popover style="dark" icon="expand_more" icon-after="true" text=this id=@key position=@key gap="10"}}
{{/each}}
</div>
{{/_docs-example}}

0 comments on commit d59c33a

Please sign in to comment.