Skip to content

Commit 8e1f381

Browse files
authored
Merge pull request #351 from connorabbas/develop
Improvements: Modal styling, better error icon for flash message
2 parents 545a36d + c2ccb26 commit 8e1f381

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

resources/js/components/DeleteUserModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ const deleteUser = () => {
3030
<template>
3131
<Dialog
3232
v-model:visible="modalOpen"
33+
class="m-4 sm:m-0 w-[40rem]"
3334
position="center"
3435
header="Are you sure you want to delete your account?"
35-
:style="{ width: '40rem' }"
3636
:draggable="false"
3737
dismissableMask
3838
modal

resources/js/components/FlashMessages.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup>
22
import { ref, watch } from 'vue';
33
import { usePage } from '@inertiajs/vue3';
4-
import { Check, Info, TriangleAlert, CircleAlert, Megaphone } from 'lucide-vue-next';
4+
import { Check, CircleX, Info, TriangleAlert, Megaphone } from 'lucide-vue-next';
55
66
const page = usePage();
77
const flashed = ref(0);
@@ -56,7 +56,7 @@ watch(() => page.props.flash, () => {
5656
closable
5757
>
5858
<template #icon>
59-
<CircleAlert />
59+
<CircleX />
6060
</template>
6161
{{ page.props.flash.error }}
6262
</Message>

0 commit comments

Comments
 (0)