Skip to content

Commit

Permalink
fix: tree switcher's background display unexpected in dark theme (#39838
Browse files Browse the repository at this point in the history
)

* fix: tree switcher's background display unexpected in drak theme

* fix: tree switcher's background display unexpected in drak theme

* feat: remove demo
  • Loading branch information
kiner-tang committed Dec 27, 2022
1 parent 7329ac7 commit 7cb8b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tree/style/index.tsx
Expand Up @@ -347,7 +347,7 @@ export const genBaseStyle = (prefixCls: string, token: TreeToken): CSSObject =>

// ============== Cover Background ==============
[`${treeCls}-switcher`]: {
background: token.colorBgContainer,
background: 'transparent',

'&-line-icon': {
// https://github.com/ant-design/ant-design/issues/32813
Expand Down

0 comments on commit 7cb8b79

Please sign in to comment.