fix(tag): fix height clutter caused by box-sizing of parent element

This commit is contained in:
unix
2020-04-19 18:06:22 +08:00
parent e49734955f
commit 1d0e685d27

View File

@@ -93,6 +93,7 @@ const Tag: React.FC<React.PropsWithChildren<TagProps>> = React.memo(({
background-color: ${bgColor};
color: ${color};
padding: 6px;
box-sizing: border-box;
}
`}</style>
</span>