fix: tag line height (#35487)

This commit is contained in:
miracles1919 2022-05-11 13:06:03 +08:00 committed by GitHub
parent da7f67db3f
commit d326765a6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ const genBaseStyle = (token: TagToken): CSSInterpolation => ({
export default genComponentStyleHook('Tag', token => {
const tagFontSize = token.fontSizeSM;
// FIXME: hard code
const tagLineHeight = '18px';
const tagLineHeight = '20px';
const tagDefaultBg = token.colorBgComponentSecondary;
const tagDefaultColor = token.colorText;