Skip to content

Commit

Permalink
Merge pull request #841 from takarabe-hamuyatti/feature/issue-802
Browse files Browse the repository at this point in the history
add padding to staff and contributor list bottom area
  • Loading branch information
takahirom authored Sep 9, 2024
2 parents aa38547 + 4ea1961 commit 66bf8f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.unit.dp
import androidx.lifecycle.compose.dropUnlessResumed
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
Expand Down Expand Up @@ -127,7 +128,7 @@ fun ContributorsScreen(
Contributors(
contributors = uiState.contributors,
onContributorsItemClick = onContributorsItemClick,
contentPadding = PaddingValues(bottom = padding.calculateBottomPadding()),
contentPadding = PaddingValues(bottom = 40.dp + padding.calculateBottomPadding()),
modifier = Modifier
.fillMaxSize()
.padding(top = padding.calculateTopPadding())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.input.nestedscroll.nestedScroll
import androidx.compose.ui.platform.testTag
import androidx.compose.ui.unit.dp
import androidx.lifecycle.compose.dropUnlessResumed
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
Expand Down Expand Up @@ -135,7 +136,7 @@ fun StaffScreen(
}
}
.testTag(StaffScreenLazyColumnTestTag),
contentPadding = PaddingValues(bottom = padding.calculateBottomPadding()),
contentPadding = PaddingValues(bottom = 40.dp + padding.calculateBottomPadding()),
) {
when (uiState) {
is StaffUiState.Exists -> {
Expand Down

0 comments on commit 66bf8f4

Please sign in to comment.