Skip to content

Commit

Permalink
Normalize size of dependent buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Dec 8, 2023
1 parent 73ff252 commit ed379a4
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pub_stats/lib/extension/diff_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,15 @@ class PackageListButton extends StatelessWidget {
),
)
.toList(),
child: Padding(
padding: const EdgeInsets.all(8),
child: Text('${packages.length} $qualifier'),
child: SizedBox(
width: 120,
child: Padding(
padding: const EdgeInsets.all(8),
child: Text(
'${packages.length} $qualifier',
textAlign: TextAlign.center,
),
),
),
),
);
Expand Down

0 comments on commit ed379a4

Please sign in to comment.