[done] full page preview.
This commit is contained in:
parent
88060f6fc3
commit
51eb3c5fd9
|
|
@ -90,7 +90,7 @@ class="text-indigo-600 hover:text-indigo-900">Show
|
|||
</div>
|
||||
<div class="flex flex-col gap-2 mt-2">
|
||||
<x-label class="inline-flex " value="{{__('Preview')}}"/>
|
||||
<div class="col-span-6 border-2 border-indigo-500 rounded-2xl overflow-hidden">
|
||||
<div class=" h-full w-full border-2 border-indigo-500 rounded-2xl overflow-scroll">
|
||||
{!! $this->getMailPreview($mail)->render() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -119,12 +119,18 @@ class="text-indigo-600 hover:text-indigo-900">Show
|
|||
</div>
|
||||
</x-slot>
|
||||
<x-slot name="actions">
|
||||
<x-secondary-button class="mr-3"
|
||||
type="button"
|
||||
wire:click="closeMailingDetailsModal"
|
||||
>
|
||||
{{ __('Close') }}
|
||||
</x-secondary-button>
|
||||
<div class="flex gap-2">
|
||||
<x-secondary-button type="button" @click="window.open('{{route('mail',[$mail->id])}}','_blank')">
|
||||
full page preview
|
||||
</x-secondary-button>
|
||||
|
||||
<x-button class="mr-3"
|
||||
type="button"
|
||||
wire:click="closeMailingDetailsModal"
|
||||
>
|
||||
{{ __('Close') }}
|
||||
</x-button>
|
||||
</div>
|
||||
</x-slot>
|
||||
</x-form-modal>
|
||||
</x-modal>
|
||||
|
|
|
|||
Loading…
Reference in a new issue