mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
fix: mix usage should not scroll (#51169)
This commit is contained in:
parent
38197269b4
commit
9a4e554abe
@ -309,9 +309,15 @@ const genSplitterStyle: GenerateStyle<SplitterToken> = (token: SplitterToken): C
|
||||
padding: '0 1px',
|
||||
scrollbarWidth: 'thin',
|
||||
boxSizing: 'border-box',
|
||||
},
|
||||
[`${splitPanelCls}-hidden`]: {
|
||||
padding: 0,
|
||||
|
||||
'&-hidden': {
|
||||
padding: 0,
|
||||
overflow: 'hidden',
|
||||
},
|
||||
|
||||
[`&:has(${componentCls}:only-child)`]: {
|
||||
overflow: 'hidden',
|
||||
},
|
||||
},
|
||||
|
||||
...genRtlStyle(token),
|
||||
|
Loading…
Reference in New Issue
Block a user