fixed room name overflow

This commit is contained in:
Kima 2024-02-24 21:50:19 +01:00
parent 1171e3aaaf
commit ae1f3f9389

View File

@ -321,6 +321,7 @@ class LessonTile extends StatelessWidget {
// ),
// ),
Container(
width: lesson.room.length > 20 ? 111 : null,
padding: const EdgeInsets.symmetric(
horizontal: 6.0, vertical: 3.5),
decoration: BoxDecoration(
@ -334,6 +335,7 @@ class LessonTile extends StatelessWidget {
),
child: Text(
lesson.room,
overflow: TextOverflow.ellipsis,
style: TextStyle(
height: 1.1,
fontSize: 12.5,