From 229d270d2546e545e48e1a87d44c54c7539e08a0 Mon Sep 17 00:00:00 2001 From: Ian Philips Date: Mon, 18 Jul 2022 08:34:20 -0600 Subject: [PATCH] Set max width on avatars --- web/components/avatar.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/components/avatar.tsx b/web/components/avatar.tsx index 53257deb..0436d61c 100644 --- a/web/components/avatar.tsx +++ b/web/components/avatar.tsx @@ -31,6 +31,7 @@ export function Avatar(props: { !noLink && 'cursor-pointer', className )} + style={{ maxWidth: `${s * 0.25}rem` }} src={avatarUrl} onClick={onClick} alt={username}