fix(chat): place the activity chevron beside its text and space it from the bubble

This commit is contained in:
2026-10-28 22:14:54 +00:00
parent 8dbf4bc4a7
commit a828c44ce9
2 changed files with 4 additions and 1 deletions
@@ -241,6 +241,8 @@ class ChatMessageView extends StatelessWidget {
], ],
streaming: row['streaming'] == true, streaming: row['streaming'] == true,
), ),
// A little air between the one-line turn status and the answer bubble.
if (content.isNotEmpty) const SizedBox(height: 6),
if (content.isNotEmpty) bubble, if (content.isNotEmpty) bubble,
if (footer.isNotEmpty) if (footer.isNotEmpty)
Wrap( Wrap(
@@ -157,7 +157,7 @@ class _ChatTurnActivityViewState extends State<ChatTurnActivityView> {
), ),
const SizedBox(width: 8), const SizedBox(width: 8),
], ],
Expanded( Flexible(
child: Text( child: Text(
label, label,
maxLines: 1, maxLines: 1,
@@ -165,6 +165,7 @@ class _ChatTurnActivityViewState extends State<ChatTurnActivityView> {
style: TextStyle(color: color), style: TextStyle(color: color),
), ),
), ),
const SizedBox(width: 4),
Icon( Icon(
cupertino ? CupertinoIcons.chevron_right : Icons.chevron_right, cupertino ? CupertinoIcons.chevron_right : Icons.chevron_right,
color: color, color: color,