mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-22 17:13:27 +08:00
fix: DatePicker prev/next buttons should be hidden when value is null (#52327)
This commit is contained in:
parent
5216ad875b
commit
e8cf2acf8e
@ -265,6 +265,10 @@ export const genPanelStyle = (token: SharedPickerToken): CSSObject => {
|
||||
display: 'inline-flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
|
||||
'&:empty': {
|
||||
display: 'none',
|
||||
},
|
||||
},
|
||||
|
||||
'> button': {
|
||||
|
Loading…
Reference in New Issue
Block a user