mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
2844c896a8
no issue
- remove `liquid-tether` dependency
- add `liquid-wormhole` dependency (previously a dependency of liquid-tether)
- refactor `gh-fullscreen-modal` to simplify and use `liquid-wormhole` directly instead of `liquid-tether` as we don't need the positioning ability that `liquid-tether` provides
- fixes broken View/Component tree in Ember Inspector 🎉
14 lines
444 B
Handlebars
14 lines
444 B
Handlebars
{{#liquid-wormhole class="fullscreen-modal-container"}}
|
|
<div class="fullscreen-modal-background" {{action "clickOverlay"}}></div>
|
|
<div class={{modalClasses}}>
|
|
{{#if hasBlock}}
|
|
{{yield}}
|
|
{{else}}
|
|
{{component modalPath
|
|
model=model
|
|
confirm=(action 'confirm')
|
|
closeModal=(action 'close')}}
|
|
{{/if}}
|
|
</div>
|
|
{{/liquid-wormhole}}
|