Skip to content

Commit

Permalink
Improved card UI
Browse files Browse the repository at this point in the history
Signed-off-by: saulhdev <[email protected]>
  • Loading branch information
saulhdev committed Aug 18, 2024
1 parent 4d6b61f commit 072eb1e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
)
Expand All @@ -96,7 +96,7 @@ fun ArticleItem(
Row(
modifier = Modifier
.fillMaxWidth()
.padding(8.dp),
.padding(top = 8.dp, bottom = 4.dp),
verticalAlignment = Alignment.CenterVertically
) {
Column(
Expand Down

0 comments on commit 072eb1e

Please sign in to comment.