Model component taking up white space

Hi all I have a filmanet blade component inside a custom page. The component exists inside a flex container with a button to trigger the model ( code below ). The filament modal compoenent howver is taking up space whilst inactive. Any ideas on stopping it taking up space?
<i class="p-2 bi bi-file-earmark-text-fill"
x-on:click="$dispatch('open-modal', { id: 'docket_price_model_order_{{ $row->id }}' })"></i>
<x-filament::modal id="docket_price_model_order_{{ $row->id }}" width="5xl"> ....
<i class="p-2 bi bi-file-earmark-text-fill"
x-on:click="$dispatch('open-modal', { id: 'docket_price_model_order_{{ $row->id }}' })"></i>
<x-filament::modal id="docket_price_model_order_{{ $row->id }}" width="5xl"> ....
1 Reply
Want results from more Discord servers?
Add your server