Cosmetics on legend header

pull/5161/head
Cagatay Civici 2024-01-24 14:01:22 +03:00
parent 295a3f899b
commit 1e00a6a2f1
1 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
<div class="card"> <div class="card">
<Fieldset> <Fieldset>
<template #legend> <template #legend>
<div class="flex align-items-center gap-2 px-2"> <div class="flex align-items-center pl-2">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" /> <Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<span class="font-bold">Amy Elsner</span> <span class="font-bold">Amy Elsner</span>
</div> </div>
@ -27,7 +27,7 @@ export default {
basic: ` basic: `
<Fieldset> <Fieldset>
<template #legend> <template #legend>
<div class="flex align-items-center gap-2 px-2"> <div class="flex align-items-center pl-2">
<Avatar image="/images/avatar/amyelsner.png" shape="circle" /> <Avatar image="/images/avatar/amyelsner.png" shape="circle" />
<span class="font-bold">Amy Elsner</span> <span class="font-bold">Amy Elsner</span>
</div> </div>
@ -43,7 +43,7 @@ export default {
<div class="card"> <div class="card">
<Fieldset> <Fieldset>
<template #legend> <template #legend>
<div class="flex align-items-center gap-2 px-2"> <div class="flex align-items-center pl-2">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" /> <Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<span class="font-bold">Amy Elsner</span> <span class="font-bold">Amy Elsner</span>
</div> </div>
@ -64,7 +64,7 @@ export default {
<div class="card"> <div class="card">
<Fieldset> <Fieldset>
<template #legend> <template #legend>
<div class="flex align-items-center gap-2 px-2"> <div class="flex align-items-center pl-2">
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" /> <Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
<span class="font-bold">Amy Elsner</span> <span class="font-bold">Amy Elsner</span>
</div> </div>