Skip to content

Commit 3df28d7

Browse files
content: Match CodeBlock border-radius with web
1 parent af291f2 commit 3df28d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/content.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,8 @@ class CodeBlock extends StatelessWidget {
262262
color: Colors.white,
263263
border: Border.all(
264264
width: 1,
265-
color: const HSLColor.fromAHSL(0.15, 0, 0, 0).toColor())),
265+
color: const HSLColor.fromAHSL(0.15, 0, 0, 0).toColor()),
266+
borderRadius: BorderRadius.circular(4)),
266267
child: SingleChildScrollViewWithScrollbar(
267268
scrollDirection: Axis.horizontal,
268269
child: Text.rich(_buildNodes(node.spans))));

0 commit comments

Comments
 (0)