Browse Source

fix: DatePicker 插件单个使用时,切换时间范围时,出现像素偏差问题。

pull/17887/head
xrkffgg 5 years ago
parent
commit
aa7f5fb776
  1. 2
      components/date-picker/style/MonthPanel.less
  2. 2
      components/date-picker/style/YearPanel.less

2
components/date-picker/style/MonthPanel.less

@ -1,6 +1,6 @@
.@{calendar-prefix-cls}-month-panel {
position: absolute;
top: 1px;
top: 0;
right: 0;
bottom: 0;
left: 0;

2
components/date-picker/style/YearPanel.less

@ -1,6 +1,6 @@
.@{calendar-prefix-cls}-year-panel {
position: absolute;
top: 1px;
top: 0;
right: 0;
bottom: 0;
left: 0;

Loading…
Cancel
Save