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,24 +581,21 @@ 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 (
contentAlignment = Alignment.BottomEnd
) {
Text( Text(
text = subject.teacher, text = subject.teacher,
color = Color.White, color = Color.White,
fontSize = 12.sp fontSize = 14.sp,
lineHeight = 1.sp // to achieve uniform padding
) )
} }
} }
} }
} }
}
Box(modifier = Modifier Box(modifier = Modifier
.fillMaxSize() .fillMaxSize()