From c7101870944a34f874fd80b18c16e38e24d6b51b Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 20 May 2025 18:48:56 +0300 Subject: fix hover card width (#8392) --- src/components/ProfileHoverCard/index.web.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/components/ProfileHoverCard/index.web.tsx') diff --git a/src/components/ProfileHoverCard/index.web.tsx b/src/components/ProfileHoverCard/index.web.tsx index 4f6545a2e..17148a1b3 100644 --- a/src/components/ProfileHoverCard/index.web.tsx +++ b/src/components/ProfileHoverCard/index.web.tsx @@ -381,8 +381,8 @@ let Card = ({ t.atoms.bg, t.atoms.border_contrast_low, t.atoms.shadow_lg, - a.w_full, - {maxWidth: status.isActive ? 500 : 300}, + {width: status.isActive ? 350 : 300}, + a.max_w_full, ]}> {data && moderationOpts ? ( status.isActive ? ( @@ -396,7 +396,13 @@ let Card = ({ ) ) : ( - + )} -- cgit 1.4.1