alter text alignment and icon sizes treewide

This commit is contained in:
Henry Hiles 2026-10-04 11:16:39 -04:00
commit 5e3c7ffa68
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
5 changed files with 68 additions and 62 deletions

View file

@ -209,7 +209,7 @@ class const EventRenderer(
return Column(
crossAxisAlignment: .start,
children: [
if (child != null) ...[
if (child != null)
if (textOnly)
child
else ...[
@ -299,8 +299,8 @@ class const EventRenderer(
),
),
].map((child) => Padding(padding: .only(left: 4), child: child)),
],
] else if (textOnly)
]
else if (textOnly)
Text("Unknown event type", style: errorStyle),
],
);

View file

@ -148,7 +148,7 @@ class const MessageRenderer(
return Row(
crossAxisAlignment: .start,
mainAxisSize: .min,
spacing: 8,
spacing: 6,
children: [
if (!textOnly)
if (isGrouped)
@ -157,7 +157,7 @@ class const MessageRenderer(
MessageAvatar(event, height: 40),
Flexible(
child: Column(
spacing: 4,
spacing: 2,
crossAxisAlignment: .start,
children: [
if (!isGrouped && !textOnly)