From 33028cdf38223b9e7b120a8bb833534f69e57634 Mon Sep 17 00:00:00 2001 From: balint1414 Date: Mon, 13 Oct 2025 17:08:16 +0200 Subject: [PATCH] =?UTF-8?q?t=C3=B6rdel=C3=A9s=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firka/lib/helpers/ui/common_bottom_sheets.dart | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/firka/lib/helpers/ui/common_bottom_sheets.dart b/firka/lib/helpers/ui/common_bottom_sheets.dart index aac168e..4fd46b6 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(