Skip to content

Commit 3de9e4e

Browse files
authored
Merge pull request #146 from code-payments/chore/badge-contentpadding
chore(badge): use staticGrid scaling for inner padding
2 parents 246301f + 3901eda commit 3de9e4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • app/src/main/java/com/getcode/ui/components

app/src/main/java/com/getcode/ui/components/Badge.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fun Badge(
2727
text = text,
2828
color = contentColor,
2929
style = CodeTheme.typography.body1.copy(fontWeight = FontWeight.W700),
30-
modifier = modifier.circleBackground(color = color, padding = CodeTheme.dimens.grid.x1)
30+
modifier = modifier.circleBackground(color = color, padding = CodeTheme.dimens.staticGrid.x1)
3131
)
3232
}
3333
}

0 commit comments

Comments
 (0)