Browse Source

add width:100% for datepicker stylr

pull/55/head
SimaQ 9 years ago
parent
commit
a5d3618d2e
  1. 2
      components/datepicker/index.md
  2. 1
      style/components/datepicker/Picker.less

2
components/datepicker/index.md

@ -28,7 +28,7 @@
| disabled | 禁用 | bool | false |
<style>
.code-box-demo .ant-calendar-picker-input {
.code-box-demo .ant-calendar-picker {
width: 200px;
}
</style>

1
style/components/datepicker/Picker.less

@ -10,6 +10,7 @@
.@{prefixCalendarClass}-picker {
position: relative;
display: inline-block;
width: 100%;
&-icon {
position: absolute;

Loading…
Cancel
Save