Skip to content

Commit

Permalink
ui: HomeScreen: Fix recent activity padding
Browse files Browse the repository at this point in the history
* Fixes #48
  • Loading branch information
mikooomich committed Jan 4, 2025
1 parent ce0070b commit 1904b8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ fun YouTubeCardItem(
verticalAlignment = Alignment.CenterVertically,
modifier = modifier
.height(60.dp)
.width(screenWidthDp.dp / 2)
.width((screenWidthDp.dp - 12.dp) / 2)
.padding(6.dp)
.clip(RoundedCornerShape(6.dp))
.background(MaterialTheme.colorScheme.surfaceColorAtElevation(6.dp))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ fun HomeScreen(
modifier = Modifier
.fillMaxWidth()
.height(60.dp * 4)
.padding(6.dp)
) {
items(
items = recentActivity!!,
Expand Down

0 comments on commit 1904b8a

Please sign in to comment.