🐛 Fix post item mis-styled

This commit is contained in:
LittleSheep 2024-06-27 00:34:22 +08:00
parent 3d8315d09b
commit 834eed652d

View File

@ -66,7 +66,7 @@ class _PostItemState extends State<PostItem> {
Text(
item.author.nick,
style: const TextStyle(fontWeight: FontWeight.bold),
).paddingOnly(left: 6),
).paddingOnly(left: widget.isCompact ? 6 : 12),
buildDate().paddingOnly(left: 4),
],
);