Card pt fixes
parent
9a0f329e2f
commit
b4d059388d
|
@ -4,7 +4,7 @@
|
|||
<slot name="header"></slot>
|
||||
</div>
|
||||
<div :class="cx('body')" v-bind="ptm('body')">
|
||||
<div v-if="$slots.title" :class="cx('title')">
|
||||
<div v-if="$slots.title" :class="cx('title')" v-bind="ptm('title')">
|
||||
<slot name="title"></slot>
|
||||
</div>
|
||||
<div v-if="$slots.subtitle" :class="cx('subtitle')" v-bind="ptm('subtitle')">
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<div class="card flex align-items-center justify-content-center">
|
||||
<Card style="width: 25em">
|
||||
<template #header>
|
||||
<img alt="user header" src="https://primefaces.org/cdn/primevue/images/usercard.png" />
|
||||
<img alt="user header" class="w-full" src="https://primefaces.org/cdn/primevue/images/usercard.png" />
|
||||
</template>
|
||||
<template #title> Advanced Card </template>
|
||||
<template #subtitle> Card subtitle </template>
|
||||
|
|
Loading…
Reference in New Issue