Skip to content

Commit

Permalink
fix: the color of Content should change in darkmode (#47441)
Browse files Browse the repository at this point in the history
  • Loading branch information
nova1751 committed Feb 18, 2024
1 parent 5272a2e commit d4c811c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/layout/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ const genLayoutStyle: GenerateStyle<LayoutToken, CSSObject> = (token) => {
// =================== Content ====================
[`${componentCls}-content`]: {
flex: 'auto',
color: colorText,

// fix firefox can't set height smaller than content on flex item
minHeight: 0,
Expand Down

0 comments on commit d4c811c

Please sign in to comment.