💄(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.
This commit is contained in:
lebaudantoine
2026-07-30 10:47:23 +02:00
committed by aleb_the_flash
parent 89f8480e0b
commit 8cbcad7645
+2 -1
View File
@@ -59,9 +59,10 @@ export const Avatar = React.memo(
<text
x="50"
y="50"
dy="-0.08em"
textAnchor="middle"
dominantBaseline="central"
fontSize={initials.length > 1 ? 48 : 52}
fontSize="52"
fontWeight="500"
fill="currentColor"
>