chore: Increase padding for code blocks
This commit is contained in:
parent
d8d0abf27c
commit
6836cab40e
1 changed files with 4 additions and 1 deletions
|
|
@ -391,7 +391,10 @@ class HtmlMessage extends StatelessWidget {
|
||||||
controller: controller,
|
controller: controller,
|
||||||
scrollDirection: Axis.horizontal,
|
scrollDirection: Axis.horizontal,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
padding: const EdgeInsets.all(4.0),
|
padding: const EdgeInsets.symmetric(
|
||||||
|
horizontal: 8.0,
|
||||||
|
vertical: 4.0,
|
||||||
|
),
|
||||||
child: Text.rich(
|
child: Text.rich(
|
||||||
TextSpan(
|
TextSpan(
|
||||||
children: [_renderCodeBlockNode(element)],
|
children: [_renderCodeBlockNode(element)],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue