加固个人中心邀请弹窗组件断言

改用 PlatformSubpanel padding 参数承接邀请弹窗局部间距

补充邀请二维码卡和已填写邀请码空态的公共 surface 断言
This commit is contained in:
2026-06-10 12:20:32 +08:00
parent 66b73f5a1d
commit 66f31db968
2 changed files with 10 additions and 7 deletions

View File

@@ -3898,8 +3898,8 @@ function ProfileReferralModal({
key={qrCode.label}
surface="flat"
radius="xs"
padding="none"
className="p-2.5 text-center"
padding="xs"
className="text-center"
>
<div className="aspect-square overflow-hidden rounded-lg border border-zinc-200 bg-white p-1.5">
<img
@@ -4010,8 +4010,7 @@ function ProfileReferralModal({
as="div"
surface="flat"
radius="xs"
padding="none"
className="px-3.5 py-3"
padding="sm"
>
<PlatformFieldLabel
variant="section"
@@ -4027,8 +4026,8 @@ function ProfileReferralModal({
key={`${user.userId}-${user.boundAt}`}
surface="soft"
radius="xs"
padding="none"
className="flex items-center gap-3 px-2.5 py-2"
padding="row"
className="flex items-center gap-3"
>
<ProfileReferralUserAvatar
name={user.displayName}