From d858cd18bd512f66f79a5bd416570744e849e305 Mon Sep 17 00:00:00 2001 From: acite <1498045907@qq.com> Date: Sun, 21 Sep 2025 01:34:01 +0800 Subject: [PATCH] [update] Video Card Font --- .../com/acitelight/aether/view/VideoScreen.kt | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/acitelight/aether/view/VideoScreen.kt b/app/src/main/java/com/acitelight/aether/view/VideoScreen.kt index cebcadf..a752b1e 100644 --- a/app/src/main/java/com/acitelight/aether/view/VideoScreen.kt +++ b/app/src/main/java/com/acitelight/aether/view/VideoScreen.kt @@ -345,7 +345,7 @@ fun VideoCard( ) { Column( modifier = Modifier - .fillMaxWidth() + .fillMaxWidth(), ) { Box(modifier = Modifier.fillMaxSize()) { @@ -406,21 +406,30 @@ fun VideoCard( } Text( text = video.video.name, - fontSize = 14.sp, + fontSize = 12.sp, fontWeight = FontWeight.Bold, maxLines = 2, modifier = Modifier .padding(8.dp) .background(Color.Transparent) - .heightIn(24.dp) + .heightIn(min = 24.dp), + lineHeight = 14.sp ) Spacer(modifier = Modifier.weight(1f)) Row( modifier = Modifier.padding(horizontal = 8.dp), horizontalArrangement = Arrangement.SpaceBetween, ) { - Text("Class: ", fontSize = 12.sp, maxLines = 1) - Text(video.klass, fontSize = 12.sp, maxLines = 1) + Text("Class: ", fontSize = 10.sp, maxLines = 1) + Text(video.klass, fontSize = 10.sp, maxLines = 1) + } + + Row( + modifier = Modifier.padding(horizontal = 8.dp).padding(bottom = 6.dp), + horizontalArrangement = Arrangement.SpaceBetween, + ) { + Text("Id: ", fontSize = 10.sp, maxLines = 1, lineHeight = 10.sp) + Text(video.id, fontSize = 10.sp, maxLines = 1, lineHeight = 10.sp) } } }