fix: Minor design fixes

This commit is contained in:
Krille Fear 2021-11-14 12:00:49 +01:00
parent c1cb91dc79
commit dbc56c2cf2
2 changed files with 2 additions and 8 deletions

View File

@ -67,13 +67,7 @@ class EventInfoDialog extends StatelessWidget {
padding: const EdgeInsets.all(12.0), padding: const EdgeInsets.all(12.0),
child: SingleChildScrollView( child: SingleChildScrollView(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
child: Text( child: Text(prettyJson),
prettyJson,
style: const TextStyle(
fontFamily: 'Roboto-Mono',
fontSize: 16,
),
),
), ),
), ),
], ],

View File

@ -283,7 +283,7 @@ class _ButtonContent extends StatelessWidget {
), ),
onPressed: onPressed, onPressed: onPressed,
icon: icon, icon: icon,
label: Text(label), label: Text(label, overflow: TextOverflow.ellipsis),
); );
} }
} }