Compare commits

...

1 Commits

Author SHA1 Message Date
lebaudantoine 8cbcad7645 💄(frontend) adjust centering of Avatar initials
Fine-tune the vertical alignment of the initials in the Avatar so
they sit properly centered inside the circle.
2026-07-30 15:16:29 +02:00
+2 -1
View File
@@ -59,9 +59,10 @@ export const Avatar = React.memo(
<text <text
x="50" x="50"
y="50" y="50"
dy="-0.08em"
textAnchor="middle" textAnchor="middle"
dominantBaseline="central" dominantBaseline="central"
fontSize={initials.length > 1 ? 48 : 52} fontSize="52"
fontWeight="500" fontWeight="500"
fill="currentColor" fill="currentColor"
> >