diff --git a/firka/lib/ui/components/common_bottom_sheets.dart b/firka/lib/ui/components/common_bottom_sheets.dart index ca0d8f3f..f5de1c5a 100644 --- a/firka/lib/ui/components/common_bottom_sheets.dart +++ b/firka/lib/ui/components/common_bottom_sheets.dart @@ -167,10 +167,13 @@ Future showLessonBottomSheet( SizedBox(height: 20), Row( children: [ - Text( - "${lesson.name} ${statsForNerdsEnabled ? "(${lesson.subject.loadAndGet()!.name})" : ""}", - style: appStyle.fonts.H_18px.apply( - color: appStyle.colors.textPrimary, + Expanded( + child: Text( + "${lesson.name} ${statsForNerdsEnabled ? "(${lesson.subject.loadAndGet()!.name})" : ""}", + style: appStyle.fonts.H_18px.apply( + color: appStyle.colors.textPrimary, + ), + softWrap: true, ), ), ],