🐛 Bug fixes

This commit is contained in:
2025-10-27 01:57:03 +08:00
parent 3c2c51bfaf
commit 1719b1c8fe
6 changed files with 29 additions and 22 deletions

View File

@@ -24,12 +24,20 @@ class ThoughtContent extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Expanded(
child: SelectableText(
streamingText,
style: TextStyle(
color: Theme.of(context).colorScheme.onSurface,
height: 1.4,
),
child: MarkdownTextContent(
isSelectable: true,
content: streamingText,
extraBlockSyntaxList: [ProposalBlockSyntax()],
textStyle: Theme.of(context).textTheme.bodyMedium,
extraGenerators: [
ProposalGenerator(
backgroundColor:
Theme.of(context).colorScheme.secondaryContainer,
foregroundColor:
Theme.of(context).colorScheme.onSecondaryContainer,
borderColor: Theme.of(context).colorScheme.outline,
),
],
),
),
const SizedBox(width: 8),