mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 01:13:58 +08:00
fix: datePicker arrow out of bound (#47389)
* fix: datePicker arrow out of bound * chore: use logic prop
This commit is contained in:
parent
3d1c81db92
commit
52fdbb47d9
@ -364,9 +364,14 @@ const genPickerStyle: GenerateStyle<PickerToken> = (token) => {
|
||||
position: 'absolute',
|
||||
zIndex: 1,
|
||||
display: 'none',
|
||||
marginInlineStart: token.calc(paddingInline).mul(1.5).equal(),
|
||||
paddingInline: token.calc(paddingInline).mul(1.5).equal(),
|
||||
boxSizing: 'content-box',
|
||||
transition: `left ${motionDurationSlow} ease-out`,
|
||||
...genRoundedArrow(token, colorBgElevated, boxShadowPopoverArrow),
|
||||
|
||||
'&:before': {
|
||||
insetInlineStart: token.calc(paddingInline).mul(1.5).equal(),
|
||||
},
|
||||
},
|
||||
|
||||
[`${componentCls}-panel-container`]: {
|
||||
|
@ -143,7 +143,7 @@
|
||||
"rc-motion": "^2.9.0",
|
||||
"rc-notification": "~5.3.0",
|
||||
"rc-pagination": "~4.0.4",
|
||||
"rc-picker": "~4.0.0-alpha.44",
|
||||
"rc-picker": "~4.1.1",
|
||||
"rc-progress": "~3.5.1",
|
||||
"rc-rate": "~2.12.0",
|
||||
"rc-resize-observer": "^1.4.0",
|
||||
|
Loading…
Reference in New Issue
Block a user