forked from firka/student-legacy
fixed room name overflow
This commit is contained in:
parent
1171e3aaaf
commit
ae1f3f9389
@ -321,6 +321,7 @@ class LessonTile extends StatelessWidget {
|
|||||||
// ),
|
// ),
|
||||||
// ),
|
// ),
|
||||||
Container(
|
Container(
|
||||||
|
width: lesson.room.length > 20 ? 111 : null,
|
||||||
padding: const EdgeInsets.symmetric(
|
padding: const EdgeInsets.symmetric(
|
||||||
horizontal: 6.0, vertical: 3.5),
|
horizontal: 6.0, vertical: 3.5),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
@ -334,6 +335,7 @@ class LessonTile extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
lesson.room,
|
lesson.room,
|
||||||
|
overflow: TextOverflow.ellipsis,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
height: 1.1,
|
height: 1.1,
|
||||||
fontSize: 12.5,
|
fontSize: 12.5,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user