changed some style
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user