fix min lines on codeblock
This commit is contained in:
parent
e7ad21df82
commit
4acf624bff
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ class CodeBlock extends StatelessWidget {
|
||||||
padding: EdgeInsets.all(8),
|
padding: EdgeInsets.all(8),
|
||||||
child: SelectableText(
|
child: SelectableText(
|
||||||
code,
|
code,
|
||||||
|
minLines: 1,
|
||||||
maxLines: 99,
|
maxLines: 99,
|
||||||
style: TextStyle(fontFamily: "monospace"),
|
style: TextStyle(fontFamily: "monospace"),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue