From bab516685ffdd20edf5a1c13b351bd95731523d4 Mon Sep 17 00:00:00 2001 From: Jonas Metzener Date: Thu, 6 Jun 2019 10:17:31 +0200 Subject: [PATCH] fix(form): allow stacking of info modals --- addon/components/cf-field/info.js | 3 +-- addon/templates/components/cf-field/info.hbs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/addon/components/cf-field/info.js b/addon/components/cf-field/info.js index 536380806..e7ebeb29e 100644 --- a/addon/components/cf-field/info.js +++ b/addon/components/cf-field/info.js @@ -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"] }); diff --git a/addon/templates/components/cf-field/info.hbs b/addon/templates/components/cf-field/info.hbs index 0e8df912e..56e093a56 100644 --- a/addon/templates/components/cf-field/info.hbs +++ b/addon/templates/components/cf-field/info.hbs @@ -1,5 +1,5 @@ -{{#uk-modal visible=showModal}} +{{#uk-modal visible=showModal stack=true}} {{markdown-to-html text openLinksInNewWindow=true}} {{/uk-modal}} \ No newline at end of file