Ghost/ghost/admin/app/templates/components/gh-fullscreen-modal.hbs

14 lines
444 B
Handlebars
Raw Normal View History

{{#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}}