[update] Video Card Font
This commit is contained in:
@@ -345,7 +345,7 @@ fun VideoCard(
|
|||||||
) {
|
) {
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth(),
|
||||||
) {
|
) {
|
||||||
Box(modifier = Modifier.fillMaxSize()) {
|
Box(modifier = Modifier.fillMaxSize()) {
|
||||||
|
|
||||||
@@ -406,21 +406,30 @@ fun VideoCard(
|
|||||||
}
|
}
|
||||||
Text(
|
Text(
|
||||||
text = video.video.name,
|
text = video.video.name,
|
||||||
fontSize = 14.sp,
|
fontSize = 12.sp,
|
||||||
fontWeight = FontWeight.Bold,
|
fontWeight = FontWeight.Bold,
|
||||||
maxLines = 2,
|
maxLines = 2,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(8.dp)
|
.padding(8.dp)
|
||||||
.background(Color.Transparent)
|
.background(Color.Transparent)
|
||||||
.heightIn(24.dp)
|
.heightIn(min = 24.dp),
|
||||||
|
lineHeight = 14.sp
|
||||||
)
|
)
|
||||||
Spacer(modifier = Modifier.weight(1f))
|
Spacer(modifier = Modifier.weight(1f))
|
||||||
Row(
|
Row(
|
||||||
modifier = Modifier.padding(horizontal = 8.dp),
|
modifier = Modifier.padding(horizontal = 8.dp),
|
||||||
horizontalArrangement = Arrangement.SpaceBetween,
|
horizontalArrangement = Arrangement.SpaceBetween,
|
||||||
) {
|
) {
|
||||||
Text("Class: ", fontSize = 12.sp, maxLines = 1)
|
Text("Class: ", fontSize = 10.sp, maxLines = 1)
|
||||||
Text(video.klass, fontSize = 12.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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user