Skip to content

Commit bab5166

Browse files
Jonas Metzenerczosel
Jonas Metzener
authored andcommitted
fix(form): allow stacking of info modals
1 parent eab1d00 commit bab5166

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

addon/components/cf-field/info.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ import layout from "../../templates/components/cf-field/info";
33

44
export default Component.extend({
55
layout,
6-
classNames:
7-
"uk-padding-small uk-padding-remove-vertical uk-padding-remove-right uk-flex uk-flex-middle"
6+
classNames: ["uk-margin-small-left", "uk-flex", "uk-flex-middle"]
87
});
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<button type="button" class="uk-icon-button" uk-icon="info" {{action (mut showModal) true}}></button>
22

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

0 commit comments

Comments
 (0)