diff --git a/firka/lib/helpers/ui/common_bottom_sheets.dart b/firka/lib/helpers/ui/common_bottom_sheets.dart index aac168e5..4fd46b60 100644 --- a/firka/lib/helpers/ui/common_bottom_sheets.dart +++ b/firka/lib/helpers/ui/common_bottom_sheets.dart @@ -374,10 +374,14 @@ Future showTestBottomSheet( crossAxisAlignment: CrossAxisAlignment.start, children: [ Row(children: [ - Text( - "${test?.theme ?? 'N/A'} ${statsForNerdsEnabled ? "(${lesson.classGroup?.name ?? ''})" : ""}", - style: appStyle.fonts.H_18px - .apply(color: appStyle.colors.textPrimary), + Expanded( + child: Text( + "${test?.theme ?? 'N/A'} ${statsForNerdsEnabled ? "(${lesson.classGroup?.name ?? ''})" : ""}", + style: appStyle.fonts.H_18px + .apply(color: appStyle.colors.textPrimary), + maxLines: 4, + overflow: TextOverflow.ellipsis, + ), ), ]), Text(