Skip to content

Commit

Permalink
More layout improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Nov 21, 2023
1 parent f6c6f51 commit 3b2e432
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pub_stats/lib/view/widget/stats/diff_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ class DiffList extends StatelessWidget {
children: diff.entries
.map(
(e) => ListTile(
leading: Text(e.key.name.titleCase),
leading: SizedBox(
width: 100,
child: Text(e.key.name.titleCase),
),
title: Text(e.value.text),
trailing: Text(Formatting.shortDate(date)),
),
Expand All @@ -56,7 +59,10 @@ class DiffList extends StatelessWidget {
child: FastBuilder(() {
final firstSnapshot = _controller.loadedStats.first.stats.first;
return ListTile(
leading: const Text('Meta'),
leading: const SizedBox(
width: 100,
child: Text('Meta'),
),
title: const Text('First scanned'),
trailing: Text(Formatting.shortDate(firstSnapshot.timestamp)),
);
Expand Down

0 comments on commit 3b2e432

Please sign in to comment.