From 369e44dc6e4be0dc001082b2374ce90a87dd44f9 Mon Sep 17 00:00:00 2001 From: Soongyu Kwon Date: Thu, 12 Sep 2024 13:52:54 +0900 Subject: [PATCH] fix: timetable block layout --- lib/widgets/timetable_block.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/widgets/timetable_block.dart b/lib/widgets/timetable_block.dart index 9a1c2142..33f3bcfd 100644 --- a/lib/widgets/timetable_block.dart +++ b/lib/widgets/timetable_block.dart @@ -51,7 +51,7 @@ class TimetableBlock extends StatelessWidget { color: isTemp ? OTLColor.grayF : OTLColor.gray0, overflow: TextOverflow.ellipsis, ), - maxLines: maxLines > 1 ? maxLines : 1, + maxLines: 2, )); } @@ -70,6 +70,7 @@ class TimetableBlock extends StatelessWidget { style: labelRegular.copyWith( color: isTemp ? OTLColor.grayE : OTLColor.gray6, overflow: TextOverflow.ellipsis, + fontSize: 10, ), maxLines: maxLines > 1 ? maxLines : 1, ),