fixed some padding around time time and teachers
This commit is contained in:
@@ -581,20 +581,17 @@ private fun DayScreen(day: Day) {
|
|||||||
Text(
|
Text(
|
||||||
text = "${subject.start}–${subject.end}",
|
text = "${subject.start}–${subject.end}",
|
||||||
color = Color.White,
|
color = Color.White,
|
||||||
fontSize = 21.sp
|
fontSize = 23.sp
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!subject.free) {
|
if (!subject.free) {
|
||||||
Box (
|
Text(
|
||||||
contentAlignment = Alignment.BottomEnd
|
text = subject.teacher,
|
||||||
) {
|
color = Color.White,
|
||||||
Text(
|
fontSize = 14.sp,
|
||||||
text = subject.teacher,
|
lineHeight = 1.sp // to achieve uniform padding
|
||||||
color = Color.White,
|
)
|
||||||
fontSize = 12.sp
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user