Skip to content

Commit

Permalink
Merge pull request #428 from oceanbase/wangdongya-tagselect
Browse files Browse the repository at this point in the history
fix(Tag): Fix style overwritten by antd
  • Loading branch information
dengfuping authored Jan 29, 2024
2 parents 4c6d2c3 + 0141e8e commit 25796ee
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/design/src/typography/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ export const genTypographyStyle: GenerateStyle<TypographyToken> = (
const { componentCls } = token;

return {
[`${componentCls}`]: {
// inherit color and lineHeight from parent instead of fixed colorText
// inherit color and lineHeight from parent instead of fixed colorText
[`span${componentCls}`]: {
lineHeight: 'inherit',
color: 'inherit',
},
[`div${componentCls}`]: {
lineHeight: 'inherit',
color: 'inherit',
},
};
};
Expand Down

0 comments on commit 25796ee

Please sign in to comment.