diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-05-20 18:48:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-20 18:48:56 +0300 |
commit | c7101870944a34f874fd80b18c16e38e24d6b51b (patch) | |
tree | 65710ca8713bd21706f506ef90ca463730ad6a4e /src/components | |
parent | 29de23bbae85e768b0978179c24e215c8f4418ba (diff) | |
download | voidsky-c7101870944a34f874fd80b18c16e38e24d6b51b.tar.zst |
fix hover card width (#8392)
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ProfileHoverCard/index.web.tsx | 12 |
1 files changed, 9 insertions, 3 deletions
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 = ({ <Inner profile={data} moderationOpts={moderationOpts} hide={hide} /> ) ) : ( - <View style={[a.justify_center, a.align_center, {minHeight: 200}]}> + <View + style={[ + a.justify_center, + a.align_center, + {minHeight: 200}, + a.w_full, + ]}> <Loader size="xl" /> </View> )} |