mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
15 lines
510 B
PHP
15 lines
510 B
PHP
@if (isset($iframe_sequence) && !empty($iframe_sequence))
|
|
<script>
|
|
const iframe_sequence = '{{ $iframe_sequence }}';
|
|
window.opener = window.parent;
|
|
window.close = function() {
|
|
parent.document.getElementById('editor_iframe_' + iframe_sequence).remove();
|
|
};
|
|
</script>
|
|
<style>
|
|
.x.popup { width: 100vw; height: 100vh; }
|
|
.x.popup > div { width: 100vw; height: 100vh; display: flex; flex-direction: column; }
|
|
.x_modal-header { flex: 0 0 auto; }
|
|
.x_modal-body { flex: 1; overflow: scroll; }
|
|
</style>
|
|
@endif
|