mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +08:00
fix: Tree style mistake (#51492)
This commit is contained in:
parent
4f1e56f31c
commit
6f8726fdce
@ -3,10 +3,10 @@ import { Keyframes, unit } from '@ant-design/cssinjs';
|
||||
|
||||
import { getStyle as getCheckboxStyle } from '../../checkbox/style';
|
||||
import { genFocusOutline, resetComponent } from '../../style';
|
||||
import { genDirectoryStyle } from './directory';
|
||||
import { genCollapseMotion } from '../../style/motion';
|
||||
import type { AliasToken, CSSUtil, FullToken, GetDefaultToken } from '../../theme/internal';
|
||||
import { genStyleHooks, mergeToken } from '../../theme/internal';
|
||||
import { genDirectoryStyle } from './directory';
|
||||
|
||||
export interface TreeSharedToken {
|
||||
/**
|
||||
@ -316,7 +316,8 @@ export const genBaseStyle = (prefixCls: string, token: TreeToken): CSSObject =>
|
||||
[`${treeCls}-node-content-wrapper`]: {
|
||||
position: 'relative',
|
||||
minHeight: titleHeight,
|
||||
padding: `0 ${token.paddingXS}`,
|
||||
paddingBlock: 0,
|
||||
paddingInline: token.paddingXS,
|
||||
background: 'transparent',
|
||||
borderRadius: token.borderRadius,
|
||||
cursor: 'pointer',
|
||||
|
Loading…
Reference in New Issue
Block a user