Skip to content

Commit

Permalink
fix render overflow errors on error page
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHCJ committed May 4, 2024
1 parent ff6cef3 commit ce2fde7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions lib/ui/errors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,14 @@ class FullPageErrorWidget extends FritterErrorWidget {
margin: const EdgeInsets.only(top: 12),
child: Text(prefix, textAlign: TextAlign.center, style: TextStyle(color: Theme.of(context).hintColor)),
),
Container(
alignment: Alignment.center,
margin: const EdgeInsets.only(top: 12),
child: Text('$error', textAlign: TextAlign.left, style: TextStyle(color: Theme.of(context).hintColor)),
),
Flexible(
child: SingleChildScrollView(
child: Container(
alignment: Alignment.center,
margin: const EdgeInsets.only(top: 12),
child: Text('$error', textAlign: TextAlign.left, style: TextStyle(color: Theme.of(context).hintColor)),
),
)),
Container(
margin: const EdgeInsets.only(top: 12),
child: ElevatedButton(
Expand Down

0 comments on commit ce2fde7

Please sign in to comment.