mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-01 05:06:53 +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',
|
display: 'inline-flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
|
|
||||||
|
'&:empty': {
|
||||||
|
display: 'none',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
'> button': {
|
'> button': {
|
||||||
|
Loading…
Reference in New Issue
Block a user