Closed belgoros closed 6 years ago
FIxed. The right class to use in case of Foundation is as follows (look at callout
):
{{#each flashMessages.queue as |flash|}}
{{flash-message flash=flash messageStyle='foundation' class='callout'}}
{{/each}}
I'm using Foundation 6.4.3 via ember-cli-foundation-6-sass and it seems like the generated HTML has wrong CSS classes. Here is the flash code in the
application.hbs
template:When setting the flash message the flash like that:
here is the generated HTML for flash div:
As for the Foundation docs, the class to use should be
.callout
with corresponding colors:I'm using: