diff --git a/assets/index.less b/assets/index.less index 48522d422..ae3b20dec 100644 --- a/assets/index.less +++ b/assets/index.less @@ -191,11 +191,6 @@ margin: 0; padding: 0; overflow: hidden; - list-style: none; - - > li { - display: inline-block; - } } &-ok { diff --git a/src/PickerInput/Popup/Footer.tsx b/src/PickerInput/Popup/Footer.tsx index ba15dba3d..e7a8d58f2 100644 --- a/src/PickerInput/Popup/Footer.tsx +++ b/src/PickerInput/Popup/Footer.tsx @@ -45,7 +45,8 @@ export default function Footer(props: FooterProps) { const { prefixCls, locale, - button: Button = 'button', + nowButton: NowButton = 'button', + okButton: OkButton = 'button', classNames, styles, } = React.useContext(PickerContext); @@ -70,35 +71,29 @@ export default function Footer(props: FooterProps) { } }; - const nowPrefixCls = `${prefixCls}-now`; - const nowBtnPrefixCls = `${nowPrefixCls}-btn`; - const presetNode = showNow && ( -