Skip to content
Permalink
Browse files

fix(info): replace drop by modal (#193)

We had some issues with the "drop" element (positioning, width), so
we'll go with the slightly less elegant but also more stable modal.
  • Loading branch information...
czosel committed May 3, 2019
1 parent 243ff0b commit ea2a02624d22fabbf3ad9ab3a93f420d90dbbd1b
Showing with 4 additions and 6 deletions.
  1. +4 −6 addon/templates/components/cf-field/info.hbs
@@ -1,7 +1,5 @@
<button type="button" class="uk-icon-button" uk-icon="info"></button>
<button type="button" class="uk-icon-button" uk-icon="info" {{action (mut showModal) true}}></button>

<div uk-drop="pos: bottom-justify; boundary: .uk-form-controls; boundary-align: true">
<div class="uk-card uk-card-body uk-card-default">
{{markdown-to-html text}}
</div>
</div>
{{#uk-modal visible=showModal}}
{{markdown-to-html text}}
{{/uk-modal}}

0 comments on commit ea2a026

Please sign in to comment.
You can’t perform that action at this time.