Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

💄(frontend) adjust centering of Avatar initials

lebaudantoinebe98c5210e88
diff --git a/src/frontend/src/components/Avatar.tsx b/src/frontend/src/components/Avatar.tsx
index 81289d9b..4a4feb60 100644
--- a/src/frontend/src/components/Avatar.tsx
+++ b/src/frontend/src/components/Avatar.tsx
@@ -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"
>