From 834eed652dc115cef2d0a6e375944e98c56b8183 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Thu, 27 Jun 2024 00:34:22 +0800 Subject: [PATCH] :bug: Fix post item mis-styled --- lib/widgets/posts/post_item.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/posts/post_item.dart b/lib/widgets/posts/post_item.dart index 4cd0033..d7d2ae4 100644 --- a/lib/widgets/posts/post_item.dart +++ b/lib/widgets/posts/post_item.dart @@ -66,7 +66,7 @@ class _PostItemState extends State { Text( item.author.nick, style: const TextStyle(fontWeight: FontWeight.bold), - ).paddingOnly(left: 6), + ).paddingOnly(left: widget.isCompact ? 6 : 12), buildDate().paddingOnly(left: 4), ], );