diff --git a/resources/views/components/ib-alpine-modal.blade.php b/resources/views/components/ib-alpine-modal.blade.php index ea9e929..dd60188 100644 --- a/resources/views/components/ib-alpine-modal.blade.php +++ b/resources/views/components/ib-alpine-modal.blade.php @@ -7,44 +7,48 @@ 'persistent' => false ]) - - + + @endteleport + \ No newline at end of file diff --git a/resources/views/components/ib-form.blade.php b/resources/views/components/ib-form.blade.php index 4db7082..263aa08 100644 --- a/resources/views/components/ib-form.blade.php +++ b/resources/views/components/ib-form.blade.php @@ -14,7 +14,7 @@ @endif -
+
{{ $actions}}
@endif diff --git a/resources/views/components/ib-livewire-modal.blade.php b/resources/views/components/ib-livewire-modal.blade.php index 496ed14..4cd3ffa 100644 --- a/resources/views/components/ib-livewire-modal.blade.php +++ b/resources/views/components/ib-livewire-modal.blade.php @@ -6,41 +6,45 @@ 'persistent' => false ]) -except('wire:model')->class(["modal"]) }} - x-data="{open: @entangle($attributes->wire('model')).live }" - :class="{'modal-open !animate-none': open}" - :open="open" - @if($closeOnEscape) - @keydown.escape.window = "$wire.{{ $attributes->wire('model')->value() }} = false" - @endif -> - merge(['class' => 'modal-box relative transform overflow-hidden rounded-md ext-left shadow-xl w-full sm:w-2/3 lg:w-1/3 m-2 sm:m-0']) }} - > - @if ($showClose) - +
+ @teleport('body') + except('wire:model')->class(["modal"]) }} + x-data="{open: @entangle($attributes->wire('model')).live }" + :class="{'modal-open !animate-none': open}" + :open="open" + @if($closeOnEscape) + @keydown.escape.window = "$wire.{{ $attributes->wire('model')->value() }} = false" @endif - - {{ $slot }} - - - - - + @if ($showClose) + + @endif + + {{ $slot }} + + + + +
+ @endteleport +
\ No newline at end of file diff --git a/resources/views/livewire/manage-portfolio-form.blade.php b/resources/views/livewire/manage-portfolio-form.blade.php index 474d7c1..e70631d 100644 --- a/resources/views/livewire/manage-portfolio-form.blade.php +++ b/resources/views/livewire/manage-portfolio-form.blade.php @@ -86,9 +86,9 @@ new class extends Component { @endif diff --git a/resources/views/livewire/manage-transaction-form.blade.php b/resources/views/livewire/manage-transaction-form.blade.php index 51eda71..b18a937 100644 --- a/resources/views/livewire/manage-transaction-form.blade.php +++ b/resources/views/livewire/manage-transaction-form.blade.php @@ -160,9 +160,9 @@ new class extends Component { @endif