From 5f502ae29e606128c49a0d12997a31a07dfeb475 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Tue, 28 Jan 2020 22:13:53 +0800 Subject: [PATCH] fix: limit commit message to one line --- lib/widgets/commit_item.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/widgets/commit_item.dart b/lib/widgets/commit_item.dart index 1427e7a..86b2d08 100644 --- a/lib/widgets/commit_item.dart +++ b/lib/widgets/commit_item.dart @@ -44,9 +44,10 @@ class CommitItem extends StatelessWidget { color: theme.palette.text, ), overflow: TextOverflow.ellipsis, + maxLines: 1, ), SizedBox(height: 4), - Wrap( + Row( children: [ Text(author, style: TextStyle(fontSize: 15)), Text(