changed some style

This commit is contained in:
Mamalizz
2025-04-11 21:39:19 +03:30
parent ce0253c0d8
commit 50161aab19
@@ -66,7 +66,7 @@ const handleDeleteAddress = (id: number) => {
@click.prevent="!!address ? emit('select', address) : null"
:class="
isSelected
? 'border-slate-200 ring-2 ring-offset-2 ring-black'
? 'border-transparent ring-2 ring-offset-2 ring-blue-500'
: 'border-slate-200'
"
class="flex flex-col items-center transition-all relative cursor-pointer w-full group gap-2 lg:gap-4 p-4 border rounded-xl bg-slate-50 overflow-hidden"
@@ -81,7 +81,7 @@ const handleDeleteAddress = (id: number) => {
{{ !!address ? address.name : "آدرس" }}
<span
v-if="isSelected"
class="bg-black rounded-lg px-3 py-2 text-slate-200 text-[10px] lg:text-xs"
class="bg-blue-500 rounded-lg px-3 py-2 text-slate-200 text-[10px] lg:text-xs"
>
انتخاب شده
</span>