Merge pull request #3 from samy/samy-patch-css-portraits

Essai sur formatage des portraits pour les photos
This commit is contained in:
Raphaël Forment
2024-02-10 00:30:35 +01:00
committed by GitHub

View File

@ -11,11 +11,7 @@
> >
<div class="flex justify-end px-4 pt-4" /> <div class="flex justify-end px-4 pt-4" />
<div class="flex flex-col items-center pb-10"> <div class="flex flex-col items-center pb-10">
<img <div class="w-24 h-24 mb-3 rounded-full shadow-lg" style="background-image:url('{image}');background-size: cover;background-position: center;" />
class="w-24 h-24 mb-3 rounded-full shadow-lg"
src={image}
alt="Portrait"
/>
<h5 class="mb-1 text-xl font-medium text-white"> <h5 class="mb-1 text-xl font-medium text-white">
{name} {name}
</h5> </h5>