fixed DatePicker style in range type

This commit is contained in:
梁灏 2018-02-27 16:20:58 +08:00
parent 09ba5efa6e
commit f8bba1ac99
3 changed files with 18 additions and 7 deletions

View file

@ -165,7 +165,8 @@
`${prefixCls}-body-wrapper`,
`${datePrefixCls}-with-range`,
{
[`${prefixCls}-with-sidebar`]: this.shortcuts.length
[`${prefixCls}-with-sidebar`]: this.shortcuts.length,
[`${datePrefixCls}-with-week-numbers`]: this.showWeekNumbers
}
];
},

View file

@ -203,6 +203,14 @@
}
&-with-week-numbers{
.@{picker-prefix-cls}-panel{
&-body{
min-width: (@date-picker-cells-width-with-weeknumbers + 20) * 2;
}
}
}
&-transfer{
z-index: @zindex-transfer;
max-height: none;