From 1d0e685d27cb057bef73ade5395e7a1456af6189 Mon Sep 17 00:00:00 2001 From: unix Date: Sun, 19 Apr 2020 18:06:22 +0800 Subject: [PATCH] fix(tag): fix height clutter caused by box-sizing of parent element --- components/tag/tag.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/tag/tag.tsx b/components/tag/tag.tsx index 4593b80..ec2afb7 100644 --- a/components/tag/tag.tsx +++ b/components/tag/tag.tsx @@ -93,6 +93,7 @@ const Tag: React.FC> = React.memo(({ background-color: ${bgColor}; color: ${color}; padding: 6px; + box-sizing: border-box; } `}