fix: Long patch description truncated (#702)

fix: long patch description truncated (#702)

Allow flexible height
This commit is contained in:
Alex 2023-02-14 02:26:37 -08:00 committed by EvadeMaster
parent 378c947654
commit 12d25570af
No known key found for this signature in database
GPG Key ID: 90BAB50981420F89

View File

@ -75,7 +75,7 @@ class _PatchItemState extends State<PatchItem> {
crossAxisAlignment: CrossAxisAlignment.end, crossAxisAlignment: CrossAxisAlignment.end,
children: <Widget>[ children: <Widget>[
Expanded( Expanded(
child: Text( child: Text(
widget.simpleName, widget.simpleName,
maxLines: 2, maxLines: 2,
overflow: TextOverflow.visible, overflow: TextOverflow.visible,
@ -99,7 +99,6 @@ class _PatchItemState extends State<PatchItem> {
Text( Text(
widget.description, widget.description,
softWrap: true, softWrap: true,
maxLines: 3,
overflow: TextOverflow.visible, overflow: TextOverflow.visible,
style: TextStyle( style: TextStyle(
fontSize: 14, fontSize: 14,
@ -201,4 +200,4 @@ class _PatchItemState extends State<PatchItem> {
), ),
); );
} }
} }