Skip to content

Commit

Permalink
fix: timetable block layout
Browse files Browse the repository at this point in the history
  • Loading branch information
s8ngyu committed Sep 12, 2024
1 parent 7e18694 commit c2a486d
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 c2a486d

Please sign in to comment.