diff --git a/lib/features/tasks/presentation/widgets/task_tile.dart b/lib/features/tasks/presentation/widgets/task_tile.dart index 42a6925..198f6a1 100644 --- a/lib/features/tasks/presentation/widgets/task_tile.dart +++ b/lib/features/tasks/presentation/widgets/task_tile.dart @@ -162,7 +162,12 @@ class TaskTile extends StatelessWidget { children: [ const Icon(Icons.schedule, size: 24), const SizedBox(width: 12), - Text(l10n.rescheduleToTomorrow), + Flexible( + child: Text( + l10n.rescheduleToTomorrow, + overflow: TextOverflow.ellipsis, + ), + ), ], ), ), @@ -173,7 +178,13 @@ class TaskTile extends StatelessWidget { children: [ Icon(Icons.delete, size: 24, color: Theme.of(context).colorScheme.error), const SizedBox(width: 12), - Text(l10n.delete, style: TextStyle(color: Theme.of(context).colorScheme.error)), + Flexible( + child: Text( + l10n.delete, + style: TextStyle(color: Theme.of(context).colorScheme.error), + overflow: TextOverflow.ellipsis, + ), + ), ], ), ),