Skip to content

Commit 5ed549f

Browse files
ivoheckivo
authored andcommitted
align card icon
1 parent 70e0384 commit 5ed549f

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

packages/app_center/lib/layout.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const kPagePadding = 24.0;
99
const kSpacingSmall = 8.0;
1010
const kSpacing = 16.0;
1111
const kSearchBarWidth = 424.0 - 2 * kCardMargin;
12-
const kIconSize = 56.0;
12+
const kIconSize = 52.0;
1313
const kSectionSpacing = 48.0;
1414

1515
const kCardSizeNormal = Size(416.0, 170.0);

packages/app_center/lib/widgets/app_card.dart

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class AppCard extends StatelessWidget {
9898
crossAxisAlignment: CrossAxisAlignment.start,
9999
children: [
100100
AppIcon(iconUrl: iconUrl),
101-
const SizedBox(width: kCardSpacing, height: kCardSpacing),
101+
const SizedBox(width: kCardSpacing),
102102
Expanded(
103103
child: _AppCardBody(
104104
title: title,
@@ -278,10 +278,7 @@ class _AppCardBody extends StatelessWidget {
278278
ExcludeSemantics(
279279
child: Container(
280280
constraints: BoxConstraints(minHeight: kIconSize),
281-
child: Align(
282-
alignment: Alignment.bottomLeft,
283-
child: title,
284-
),
281+
child: title,
285282
),
286283
),
287284
if (summary.isNotEmpty) ...[

0 commit comments

Comments
 (0)