Skip to content

Commit

Permalink
add close button to live preview modal
Browse files Browse the repository at this point in the history
  • Loading branch information
danilopolani committed Apr 14, 2024
1 parent 32138bc commit 45f8553
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<template x-if="withEditor">
<div class="flex gap-4">
<x-filament::button color="gray" x-on:click="$dispatch('open-modal', { id: 'preview-on-device' })">
<x-filament::button
class="!bg-amber-500 hover:!bg-amber-400"
x-on:click="$dispatch('open-modal', { id: 'preview-on-device' })">
Preview on device
</x-filament::button>

Expand Down Expand Up @@ -51,5 +53,8 @@
"></qr-code>

<x-slot name="footerActions">
<x-filament::button color="gray" class="mx-auto" x-on:click="close()">
Close
</x-filament::button>
</x-slot>
</x-filament::modal>

0 comments on commit 45f8553

Please sign in to comment.