mirror of
https://github.com/suitenumerique/meet.git
synced 2026-07-31 14:17:15 +00:00
💄(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:
committed by
aleb_the_flash
parent
89f8480e0b
commit
8cbcad7645
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user