responsived placeholder
This commit is contained in:
@@ -13,11 +13,17 @@ defineProps<Props>();
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="w-full flex-col flex-grow py-[12rem] gap-6 border-2 border-slate-200 border-dashed size-full rounded-xl flex-center"
|
||||
class="w-full flex-col flex-grow py-[10rem] lg:py-[12rem] gap-6 border-2 border-slate-200 border-dashed size-full rounded-2xl flex-center"
|
||||
>
|
||||
<Icon :name="icon" size="50" class="**:fill-gray-500" />
|
||||
<span class="text-lg text-gray-500"> {{ title }} </span>
|
||||
<slot v-if="$slots['actions']" name="actions" />
|
||||
<Icon
|
||||
:name="icon"
|
||||
class="**:fill-gray-400 text-3xl"
|
||||
/>
|
||||
<span class="lg:text-lg text-gray-400"> {{ title }} </span>
|
||||
<slot
|
||||
v-if="$slots['actions']"
|
||||
name="actions"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user