Skip to content

Commit d0410fc

Browse files
authored
Merge pull request #10411 from TylerAPfledderer/fix/tag-multiline-height
fix(theme/tag): increase label line-height for multi-line
2 parents 5fc3b43 + b21d909 commit d0410fc

File tree

1 file changed

+3
-1
lines changed
  • src/@chakra-ui/gatsby-plugin/components/Tag

1 file changed

+3
-1
lines changed

src/@chakra-ui/gatsby-plugin/components/Tag/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ const { Tag: tagTheme } = theme.components
1515
const baseStyleContainer = defineMergeStyles(tagTheme.baseStyle?.container, {
1616
border: "1px",
1717
borderColor: "transparent",
18+
boxSizing: "border-box",
1819
gap: 1,
1920
borderRadius: "full",
2021
px: 2,
22+
py: 0.5,
2123
minH: 8,
2224
fontWeight: 300,
2325
"&:any-link": {
@@ -35,7 +37,7 @@ const baseStyleLabel = defineStyle({
3537
fontSize: "xs",
3638
textTransform: "uppercase",
3739
textAlign: "center",
38-
lineHeight: 1,
40+
lineHeight: 1.6,
3941
})
4042

4143
const baseStyleCloseButton = defineStyle({

0 commit comments

Comments
 (0)