💄 Optimize large screen ux

This commit is contained in:
LittleSheep 2024-08-19 22:38:36 +08:00
parent 3a1e7537dd
commit 433beec2dd

View File

@ -96,10 +96,13 @@ class ChatEvent extends StatelessWidget {
return const SizedBox();
}
return ChatEvent(
return Container(
constraints: const BoxConstraints(maxWidth: 480),
child: ChatEvent(
item: snapshot.data!.data,
isMerged: false,
isQuote: true,
),
).paddingOnly(left: isMerged ? 52 : 0);
},
);