diff --git a/packages/@nucleus/tests/dummy/app/templates/components/nucleus-inline-banner/demo-2.hbs b/packages/@nucleus/tests/dummy/app/templates/components/nucleus-inline-banner/demo-2.hbs index 2e7147f7..6a580220 100644 --- a/packages/@nucleus/tests/dummy/app/templates/components/nucleus-inline-banner/demo-2.hbs +++ b/packages/@nucleus/tests/dummy/app/templates/components/nucleus-inline-banner/demo-2.hbs @@ -1,21 +1,8 @@ {{#docs-demo as |demo|}} {{#demo.example name="nucleus-inline-banner-2.hbs"}} {{#nucleus-inline-banner type="warning" as |banner|}} -
- {{nucleus-icon name="nucleus-circle-help" size="medium" variant="warning"}} -
-
-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim blandit volutpat maecenas volutpat.

- Click here -
-
- {{nucleus-button - variant="text" - size="mini" - icon="nucleus-cross" - iconOnly=true - onClick=(action banner.close)}} -
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim blandit volutpat maecenas volutpat.

+ Click here {{/nucleus-inline-banner}} {{/demo.example}} {{demo.snippet "nucleus-inline-banner-2.hbs"}} diff --git a/packages/inline-banner/addon/templates/components/nucleus-inline-banner.hbs b/packages/inline-banner/addon/templates/components/nucleus-inline-banner.hbs index fd34c16f..4b281599 100644 --- a/packages/inline-banner/addon/templates/components/nucleus-inline-banner.hbs +++ b/packages/inline-banner/addon/templates/components/nucleus-inline-banner.hbs @@ -1,24 +1,22 @@ -{{#if hasBlock}} - {{yield - (hash - close=(action "onCloseTip") - ) - }} -{{else}} -
- {{nucleus-icon name=_icon size="medium" variant=type}} -
-
-
{{title}}
-
- {{#if isDismissible}} -
- {{nucleus-button - variant="text" - size="mini" - icon="nucleus-cross" - iconOnly=true - onClick=(action "onCloseTip")}} +
+ {{nucleus-icon name=_icon size="medium" variant=type}} +
+
+ {{#if hasBlock}} + {{yield}} + {{else}} +
+ {{title}}
{{/if}} +
+{{#if isDismissible}} +
+ {{nucleus-button + variant="text" + size="mini" + icon="nucleus-cross" + iconOnly=true + onClick=(action "onCloseTip")}} +
{{/if}} diff --git a/packages/inline-banner/ember-backstop/backstop_data/bitmaps_reference/ember-backstoptest_Integration__Component__nucleus-inline-banner__it_passes_visual_regression_tests__assert0_0_document_0_webview.png b/packages/inline-banner/ember-backstop/backstop_data/bitmaps_reference/ember-backstoptest_Integration__Component__nucleus-inline-banner__it_passes_visual_regression_tests__assert0_0_document_0_webview.png index e88d303c..82fc1ad7 100644 Binary files a/packages/inline-banner/ember-backstop/backstop_data/bitmaps_reference/ember-backstoptest_Integration__Component__nucleus-inline-banner__it_passes_visual_regression_tests__assert0_0_document_0_webview.png and b/packages/inline-banner/ember-backstop/backstop_data/bitmaps_reference/ember-backstoptest_Integration__Component__nucleus-inline-banner__it_passes_visual_regression_tests__assert0_0_document_0_webview.png differ