fix: card width
This commit is contained in:
@@ -27,9 +27,10 @@ class ProductCard extends StatelessWidget {
|
||||
onTap: onTap,
|
||||
child: ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
minHeight: 160,
|
||||
maxHeight: getCardHeight(context: context),
|
||||
),
|
||||
minHeight: 160,
|
||||
maxHeight: getCardHeight(context: context),
|
||||
minWidth: 180,
|
||||
maxWidth: 250),
|
||||
child: Card(
|
||||
elevation: 3,
|
||||
color: Theme.of(context).scaffoldBackgroundColor,
|
||||
|
||||
Reference in New Issue
Block a user