diff --git a/components/date-picker/style/TimePicker.less b/components/date-picker/style/TimePicker.less index ae1d09e85d..4f23c16a11 100644 --- a/components/date-picker/style/TimePicker.less +++ b/components/date-picker/style/TimePicker.less @@ -1,4 +1,4 @@ -.@{timepicker-prefix-cls} { +.@{calendar-timepicker-prefix-cls} { position: absolute; width: 100%; top: 34px; diff --git a/components/date-picker/style/index.less b/components/date-picker/style/index.less index f520d844d3..37139915a3 100644 --- a/components/date-picker/style/index.less +++ b/components/date-picker/style/index.less @@ -4,7 +4,7 @@ @import "../../button/style/mixin"; @calendar-prefix-cls: ~"@{ant-prefix}-calendar"; -@timepicker-prefix-cls: ~"@{ant-prefix}-calendar-time-picker"; +@calendar-timepicker-prefix-cls: ~"@{ant-prefix}-calendar-time-picker"; @import "Picker"; @import "Calendar";