From 072eb1e94ba6c8a78b3e3e24a54297a5fad79f96 Mon Sep 17 00:00:00 2001 From: saulhdev Date: Sun, 18 Aug 2024 08:21:49 -0600 Subject: [PATCH] Improved card UI Signed-off-by: saulhdev --- .../com/saulhdev/feeder/compose/components/ArticleItem.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/saulhdev/feeder/compose/components/ArticleItem.kt b/app/src/main/java/com/saulhdev/feeder/compose/components/ArticleItem.kt index ac7688d..44e25fe 100644 --- a/app/src/main/java/com/saulhdev/feeder/compose/components/ArticleItem.kt +++ b/app/src/main/java/com/saulhdev/feeder/compose/components/ArticleItem.kt @@ -78,7 +78,7 @@ fun ArticleItem( Text( text = content.title, - modifier = Modifier.padding(8.dp), + modifier = Modifier.padding(top = 8.dp), style = MaterialTheme.typography.titleLarge, fontWeight = FontWeight.Bold, maxLines = 5, @@ -87,7 +87,7 @@ fun ArticleItem( if (content.text.isNotEmpty()) { Text( text = Html.fromHtml(content.text, 0).toString(), - modifier = Modifier.padding(8.dp), + modifier = Modifier.padding(top = 8.dp), style = MaterialTheme.typography.bodySmall, maxLines = 5, ) @@ -96,7 +96,7 @@ fun ArticleItem( Row( modifier = Modifier .fillMaxWidth() - .padding(8.dp), + .padding(top = 8.dp, bottom = 4.dp), verticalAlignment = Alignment.CenterVertically ) { Column(