Skip to content

Commit

Permalink
Merge pull request #197 from sparcs-kaist/bug@timetable-block-label
Browse files Browse the repository at this point in the history
Resolve #192, show more info in timetable block
  • Loading branch information
sboh1214 authored Sep 14, 2024
2 parents b7b2b06 + 369e44d commit 6f3858a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/widgets/timetable_block.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class TimetableBlock extends StatelessWidget {
color: isTemp ? OTLColor.grayF : OTLColor.gray0,
overflow: TextOverflow.ellipsis,
),
maxLines: maxLines > 1 ? maxLines : 1,
maxLines: 2,
));
}

Expand All @@ -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,
),
Expand Down

0 comments on commit 6f3858a

Please sign in to comment.