🐛 Fix displaying quoted message attachment with weird padding

This commit is contained in:
LittleSheep 2025-02-28 00:03:47 +08:00
parent 1153fbdeee
commit 09ec9d4a0c

View File

@ -229,7 +229,10 @@ class ChatMessage extends StatelessWidget {
bordered: true,
maxHeight: 360,
maxWidth: 480 - 48 - padding.left,
padding: padding.copyWith(top: 8, left: 48 + padding.left),
padding: padding.copyWith(
top: 8,
left: isCompact ? padding.left : 48 + padding.left,
),
),
if (!hasMerged && !isCompact)
const Gap(12)