fix: show full profile card preview

This commit is contained in:
zhx 2026-05-18 14:18:14 +08:00
parent b5cb66997b
commit f03b6c605f

View File

@ -242,15 +242,15 @@ class SCStoreGridItemCard extends StatelessWidget {
headdressCover: res.propsResources?.cover,
);
case SCStoreItemPreviewKind.dataCard:
final width = screenSize.width * 0.84;
final width = screenSize.width * 0.94;
return ClipRRect(
borderRadius: BorderRadius.circular(14.w),
child: SizedBox(
width: width,
height: width * 0.66,
height: screenSize.height * 0.72,
child: SCDataCardResourceView(
resource: res.propsResources,
fit: previewFit,
fit: BoxFit.contain,
),
),
);