Remove fixed padding in Card (#230)
How the slot allow use an specific padding, don't need to use fixed p-6. This way, we have more personalization
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
<template>
|
||||
<component :is="wrapperType" :href="href" :class="cardClasses">
|
||||
<img v-if="imgSrc" class="rounded-t-lg" :class="horizontalImageClasses" :src="imgSrc" :alt="imgAlt"/>
|
||||
<div class="p-6">
|
||||
<slot />
|
||||
</div>
|
||||
</component>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
|
||||
Reference in New Issue
Block a user