fix possible render overflow
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m9s
Pull Request Pipeline / lint (pull_request) Successful in 2m10s

This commit is contained in:
gelbeinhalb
2025-11-27 17:06:32 +01:00
parent cc50e497c9
commit 8c005d6e5e

View File

@@ -103,12 +103,15 @@ class _GameHistoryTileState extends State<GameHistoryTile> {
color: Colors.amber, color: Colors.amber,
), ),
const SizedBox(width: 8), const SizedBox(width: 8),
Text( Expanded(
'Winner: ${winner.name}', child: Text(
style: const TextStyle( 'Winner: ${winner.name}',
fontSize: 14, style: const TextStyle(
fontWeight: FontWeight.w600, fontSize: 14,
color: Colors.white, fontWeight: FontWeight.w600,
color: Colors.white,
),
overflow: TextOverflow.ellipsis,
), ),
), ),
], ],