Skip to content

Commit

Permalink
🔨 Move .mdl-btn-close to .btn-close
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed Jun 12, 2024
1 parent 135f53a commit 8305e67
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/AppointmentCreatedModal.vue
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
v-if="open"
class="position-center fixed z-50 flex w-full max-w-lg flex-col items-center gap-6 rounded-xl bg-white p-12 dark:bg-gray-700"
>
<div class="mdl-btn-close absolute right-8 top-8 cursor-pointer" @click="emit('close')" :title="t('label.close')">
<div class="btn-close absolute right-8 top-8 cursor-pointer" @click="emit('close')" :title="t('label.close')">
<icon-x class="size-6 fill-transparent stroke-gray-700 stroke-1 dark:stroke-gray-400" />
</div>
<div class="text-2xl font-semibold text-teal-500">
@@ -20,7 +20,7 @@
<art-confetti class="mb-4 size-52 fill-transparent stroke-none" />
<div class="flex gap-4">
<secondary-button
class="mdl-btn-close"
class="btn-close"
:label="t('label.close')"
@click="emit('close')"
:title="t('label.close')"
2 changes: 1 addition & 1 deletion frontend/src/components/AppointmentModal.vue
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
p-12 text-gray-500 dark:bg-gray-700 dark:text-gray-300
"
>
<div class="mdl-btn-close absolute right-8 top-8 cursor-pointer" @click="emit('close')" :title="t('label.close')">
<div class="btn-close absolute right-8 top-8 cursor-pointer" @click="emit('close')" :title="t('label.close')">
<icon-x class="size-6 fill-transparent stroke-gray-700 stroke-1 dark:stroke-gray-400"/>
</div>
<div class="mb-8 truncate text-xl">{{ appointment.title }}</div>
4 changes: 2 additions & 2 deletions frontend/src/components/BookingModal.vue
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
<div
class="position-center fixed z-50 w-full max-w-lg rounded-xl bg-white p-12 dark:bg-gray-700"
>
<div class="mdl-btn-close absolute right-8 top-8 cursor-pointer" @click="emit('close')" :title="t('label.close')">
<div class="btn-close absolute right-8 top-8 cursor-pointer" @click="emit('close')" :title="t('label.close')">
<icon-x class="size-6 fill-transparent stroke-gray-700 stroke-1 dark:stroke-gray-400"/>
</div>
<div class="mb-4 text-center text-2xl font-semibold text-teal-500">
@@ -66,7 +66,7 @@
</div>
<div class="mx-auto flex w-4/5 items-stretch justify-center gap-8">
<secondary-button
class="mdl-btn-close"
class="btn-close"
:label="t('label.close')"
@click="emit('close')"
:title="t('label.close')"
4 changes: 2 additions & 2 deletions frontend/src/components/ConfirmationModal.vue
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
v-if="open"
class="position-center fixed z-50 flex w-full max-w-lg flex-col items-center gap-6 rounded-xl bg-white p-12 dark:bg-gray-700"
>
<div class="mdl-btn-close absolute right-8 top-8 cursor-pointer" @click="emit('close')" :title="t('label.close')">
<div class="btn-close absolute right-8 top-8 cursor-pointer" @click="emit('close')" :title="t('label.close')">
<icon-x class="size-6 fill-transparent stroke-gray-700 stroke-1 dark:stroke-gray-400" />
</div>
<div class="text-2xl font-semibold text-teal-500">
@@ -19,7 +19,7 @@
</div>
<div class="flex gap-4">
<secondary-button
class="mdl-btn-close"
class="btn-close"
:label="cancelLabel"
@click="emit('close')"
:title="t('label.close')"

0 comments on commit 8305e67

Please sign in to comment.