fix hover card width (#8392)

This commit is contained in:
Samuel Newman
2025-05-20 18:48:56 +03:00
committed by Hailey
parent 64eed158b7
commit 86c2fc8e1c
@@ -381,8 +381,8 @@ let Card = ({
t.atoms.bg, t.atoms.bg,
t.atoms.border_contrast_low, t.atoms.border_contrast_low,
t.atoms.shadow_lg, t.atoms.shadow_lg,
a.w_full, {width: status.isActive ? 350 : 300},
{maxWidth: status.isActive ? 500 : 300}, a.max_w_full,
]}> ]}>
{data && moderationOpts ? ( {data && moderationOpts ? (
status.isActive ? ( status.isActive ? (
@@ -396,7 +396,13 @@ let Card = ({
<Inner profile={data} moderationOpts={moderationOpts} hide={hide} /> <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" /> <Loader size="xl" />
</View> </View>
)} )}