🐛 Fix attachments padding

This commit is contained in:
LittleSheep 2024-08-19 22:45:22 +08:00
parent 433beec2dd
commit c82c48dfec

View File

@ -73,7 +73,7 @@ class ChatEvent extends StatelessWidget {
return Container( return Container(
key: Key('m${item.uuid}attachments-box'), key: Key('m${item.uuid}attachments-box'),
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
padding: EdgeInsets.only(top: isMerged ? 0 : 4), padding: EdgeInsets.only(top: isMerged ? 0 : 4, bottom: 4),
constraints: const BoxConstraints( constraints: const BoxConstraints(
maxHeight: 720, maxHeight: 720,
), ),