fix(chat): place the activity chevron beside its text and space it from the bubble
This commit is contained in:
@@ -241,6 +241,8 @@ class ChatMessageView extends StatelessWidget {
|
||||
],
|
||||
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 (footer.isNotEmpty)
|
||||
Wrap(
|
||||
|
||||
@@ -157,7 +157,7 @@ class _ChatTurnActivityViewState extends State<ChatTurnActivityView> {
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
],
|
||||
Expanded(
|
||||
Flexible(
|
||||
child: Text(
|
||||
label,
|
||||
maxLines: 1,
|
||||
@@ -165,6 +165,7 @@ class _ChatTurnActivityViewState extends State<ChatTurnActivityView> {
|
||||
style: TextStyle(color: color),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 4),
|
||||
Icon(
|
||||
cupertino ? CupertinoIcons.chevron_right : Icons.chevron_right,
|
||||
color: color,
|
||||
|
||||
Reference in New Issue
Block a user