Skip to content

Commit

Permalink
fix commit message text vertically cut
Browse files Browse the repository at this point in the history
  • Loading branch information
sstasi95 committed Jun 26, 2024
1 parent a9841d2 commit cd14aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/widgets/commit_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CommitListTile extends StatelessWidget {

@override
Widget build(BuildContext context) {
final subtitleStyle = context.textTheme.bodySmall!.copyWith(height: 1);
final subtitleStyle = context.textTheme.bodySmall!;
return InkWell(
key: ValueKey('commit_${commit.commitId?.substring(0, 6)}'),
onTap: onTap,
Expand All @@ -36,7 +36,7 @@ class CommitListTile extends StatelessWidget {
title: Text(
'${commit.comment}',
overflow: TextOverflow.ellipsis,
style: context.textTheme.labelLarge!.copyWith(height: 1),
style: context.textTheme.labelLarge,
),
subtitle: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
Expand Down

0 comments on commit cd14aea

Please sign in to comment.