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 flex-col items-center pb-10">
<img
class="w-24 h-24 mb-3 rounded-full shadow-lg"
src={image}
alt="Portrait"
/>
<div class="w-24 h-24 mb-3 rounded-full shadow-lg" style="background-image:url('{image}');background-size: cover;background-position: center;" />
<h5 class="mb-1 text-xl font-medium text-white">
{name}
</h5>