Skip to content

Commit

Permalink
fix(form): allow stacking of info modals
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Metzener authored and czosel committed Jun 6, 2019
1 parent eab1d00 commit bab5166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions addon/components/cf-field/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ import layout from "../../templates/components/cf-field/info";

export default Component.extend({
layout,
classNames:
"uk-padding-small uk-padding-remove-vertical uk-padding-remove-right uk-flex uk-flex-middle"
classNames: ["uk-margin-small-left", "uk-flex", "uk-flex-middle"]
});
2 changes: 1 addition & 1 deletion addon/templates/components/cf-field/info.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<button type="button" class="uk-icon-button" uk-icon="info" {{action (mut showModal) true}}></button>

{{#uk-modal visible=showModal}}
{{#uk-modal visible=showModal stack=true}}
{{markdown-to-html text openLinksInNewWindow=true}}
{{/uk-modal}}

0 comments on commit bab5166

Please sign in to comment.