fix: show full profile card preview
This commit is contained in:
parent
b5cb66997b
commit
f03b6c605f
@ -242,15 +242,15 @@ class SCStoreGridItemCard extends StatelessWidget {
|
|||||||
headdressCover: res.propsResources?.cover,
|
headdressCover: res.propsResources?.cover,
|
||||||
);
|
);
|
||||||
case SCStoreItemPreviewKind.dataCard:
|
case SCStoreItemPreviewKind.dataCard:
|
||||||
final width = screenSize.width * 0.84;
|
final width = screenSize.width * 0.94;
|
||||||
return ClipRRect(
|
return ClipRRect(
|
||||||
borderRadius: BorderRadius.circular(14.w),
|
borderRadius: BorderRadius.circular(14.w),
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: width,
|
width: width,
|
||||||
height: width * 0.66,
|
height: screenSize.height * 0.72,
|
||||||
child: SCDataCardResourceView(
|
child: SCDataCardResourceView(
|
||||||
resource: res.propsResources,
|
resource: res.propsResources,
|
||||||
fit: previewFit,
|
fit: BoxFit.contain,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user