Chat: code blocks and inline code use the monospace font

This commit is contained in:
2026-11-04 02:15:50 +00:00
parent bd7ae0050a
commit 5b17794179
2 changed files with 15 additions and 5 deletions
@@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
import 'package:flutter/semantics.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:pipelines_app/features/chat/ui/transcript/chat_markdown_view.dart';
import 'package:pipelines_app/ui/text/monospace.dart';
import 'chat_markdown_test_support.dart';
@@ -126,7 +127,7 @@ void main() {
expect(code.style?.backgroundColor, fill, reason: '$cupertino');
expect(plain.style?.backgroundColor, isNull, reason: '$cupertino');
expect(code.style?.fontSize, isNull, reason: '$cupertino');
expect(code.style?.fontFamily, isNull, reason: '$cupertino');
expect(code.style?.fontFamily, appMonospaceFamily, reason: '$cupertino');
}
});