1
0
mirror of https://github.com/TryGhost/Ghost.git synced 2024-12-22 02:11:44 +03:00
Ghost/ghost/admin/app/components/epm-modal-container.hbs
2023-01-11 12:39:04 +01:00

14 lines
572 B
Handlebars

{{#each this.modals._stack as |modal index|}}
{{#unless modal._options.omitBackdrop}}
<div
class="epm-backdrop {{if modal._options.backgroundLight "background-light"}} {{if modal.isClosing "epm-out"}}"
tabindex="-1"
role="presentation"
aria-hidden="true"
data-test-epm-backdrop="{{index}}"
/>
{{/unless}}
<div class="epm-modal-container {{if modal._options.backgroundBlur "background-blur"}}">
<EpmModal @modal={{modal}} data-test-epm-modal="{{index}}" />
</div>
{{/each}}