From 8881f8c674bc696cfc9100de03bc64deeb4b7339 Mon Sep 17 00:00:00 2001 From: balint1414 Date: Thu, 2 Oct 2025 20:09:44 +0200 Subject: [PATCH] =?UTF-8?q?#77=20=C3=93ra=20t=C3=A9m=C3=A1ja=20hib=C3=A1s?= =?UTF-8?q?=20t=C3=B6rdel=C3=A9se=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firka/lib/helpers/ui/common_bottom_sheets.dart | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/firka/lib/helpers/ui/common_bottom_sheets.dart b/firka/lib/helpers/ui/common_bottom_sheets.dart index a6957dd..afa15a9 100644 --- a/firka/lib/helpers/ui/common_bottom_sheets.dart +++ b/firka/lib/helpers/ui/common_bottom_sheets.dart @@ -161,11 +161,16 @@ Future showLessonBottomSheet( .apply(color: appStyle.colors.textPrimary), ), SizedBox(height: 4), - Text( - lesson.theme ?? 'N/A', - style: appStyle.fonts.B_16R + SizedBox( + width: MediaQuery.of(context).size.width * 0.7, + child: Text( + lesson.theme ?? 'N/A', + style: appStyle.fonts.B_16R .apply(color: appStyle.colors.textPrimary), - ), + maxLines: 3, + overflow: TextOverflow.ellipsis, + ), + ), SizedBox(height: 4), statsForNerds ],