Skip to content

Commit

Permalink
Fix #201: Update StoreDetailReportButton horizontal padding
Browse files Browse the repository at this point in the history
  • Loading branch information
0se0 committed Aug 18, 2024
1 parent aa80f80 commit e928bb3
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import androidx.compose.foundation.layout.width
import androidx.compose.foundation.layout.wrapContentWidth
import androidx.compose.ui.graphics.Color
import com.hankki.core.common.extension.noRippleClickable
import com.hankki.core.designsystem.theme.Gray100
import com.hankki.core.designsystem.theme.Gray200
import com.hankki.core.designsystem.theme.Red500
import com.hankki.core.designsystem.theme.White
Expand All @@ -30,7 +31,7 @@ fun StoreDetailMenuButton(
onClick: () -> Unit,
tailingIcon: @Composable () -> Unit = {},
isSelected: Boolean = false,
borderColor: Color = if (isSelected) Red500 else Gray200
borderColor: Color = if (isSelected) Red500 else Gray100
) {

Box(
Expand All @@ -39,7 +40,8 @@ fun StoreDetailMenuButton(
.border(width = 1.dp, color = borderColor, shape = RoundedCornerShape(10.dp))
.background(color = White)
.noRippleClickable(onClick = onClick)
.padding(horizontal = 20.dp, vertical = 10.5.dp)
.padding(start = 16.dp, end = 14.dp)
.padding(vertical = 10.5.dp)
) {
Spacer(modifier = Modifier.height(11.dp))
Row(
Expand Down Expand Up @@ -72,7 +74,7 @@ fun StoreDetailReportButton(
.border(width = 1.dp, color = borderColor, shape = RoundedCornerShape(10.dp))
.background(color = White)
.noRippleClickable(onClick = onClick)
.padding(horizontal = 20.dp, vertical = 15.5.dp)
.padding(horizontal = 16.dp, vertical = 15.5.dp)
) {
Row(
verticalAlignment = Alignment.CenterVertically,
Expand Down

0 comments on commit e928bb3

Please sign in to comment.