Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
Use polaris-text-container in polaris-layout/annotation (#137)
Browse files Browse the repository at this point in the history
* Use polaris-text-container in polaris-layout/annotation

* Add changelog entry
  • Loading branch information
andrewpye authored May 31, 2018
1 parent 762b066 commit 1583016
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ember-polaris Changelog

### Unpublished

- [#137](https://github.com/smile-io/ember-polaris/pull/137) [ENHANCEMENT] Replace hand-rolled `<div class="Polaris-TextContainer">` with `polaris-text-container` in `polaris-layout/annotation`.

### v1.5.4 (May 30, 2018)

- [#135](https://github.com/smile-io/ember-polaris/pull/135) [FIX] Fix component documentation links on npm.
Expand Down
4 changes: 2 additions & 2 deletions addon/templates/components/polaris-layout/annotation.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="Polaris-TextContainer">
{{#polaris-text-container}}
{{polaris-heading text=title}}

{{#if (or hasBlock description)}}
Expand All @@ -12,4 +12,4 @@
{{/if}}
{{/polaris-text-style}}
{{/if}}
</div>
{{/polaris-text-container}}

0 comments on commit 1583016

Please sign in to comment.