Skip to content

Commit

Permalink
Fix content padding.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Dec 8, 2023
1 parent 6edda72 commit 176b513
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public fun HomeScreen(

@Suppress("MaxLineLength")
LazyColumn(
contentPadding = PaddingValues(24.dp),
contentPadding = ListContentPadding,
verticalArrangement = Arrangement.spacedBy(20.dp),
) {
item {
Expand Down Expand Up @@ -549,3 +549,10 @@ public fun HomeScreen(
}
}
}

private val ListContentPadding = PaddingValues(
top = 24.dp,
start = 24.dp,
end = 24.dp,
bottom = 120.dp,
)
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public fun SavedForLaterScreen(

@Suppress("MaxLineLength")
LazyColumn(
contentPadding = PaddingValues(24.dp),
contentPadding = ListContentPadding,
verticalArrangement = Arrangement.spacedBy(20.dp),
) {
item {
Expand Down Expand Up @@ -213,3 +213,10 @@ public fun SavedForLaterScreen(
}
}
}

private val ListContentPadding = PaddingValues(
top = 24.dp,
start = 24.dp,
end = 24.dp,
bottom = 120.dp,
)

0 comments on commit 176b513

Please sign in to comment.