fixed some padding around time time and teachers

This commit is contained in:
odweta
2025-10-02 19:53:14 +02:00
parent 06e7efe55e
commit 156342e379
@@ -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
)
}
} }
} }
} }