💄 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 const SizedBox();
} }
return ChatEvent( return Container(
item: snapshot.data!.data, constraints: const BoxConstraints(maxWidth: 480),
isMerged: false, child: ChatEvent(
isQuote: true, item: snapshot.data!.data,
isMerged: false,
isQuote: true,
),
).paddingOnly(left: isMerged ? 52 : 0); ).paddingOnly(left: isMerged ? 52 : 0);
}, },
); );