Commit f7a436c06f698d2be2ef3d432946177e913a05dc

Authored by Aresn
1 parent e40c5352

update Date style

examples/routers/date.vue
1 1 <template>
2   - <Date-picker type="daterange" placeholder="选择日期" disabled style="width: 200px"></Date-picker>
  2 + <div>
  3 + <Date-picker type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker>
  4 + <Date-picker type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker>
  5 + <Date-picker type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker>
  6 + </div>
3 7 </template>
4 8 <script>
5 9 export default {
... ...
src/styles/components/date-picker.less
... ... @@ -5,6 +5,7 @@
5 5  
6 6 .@{date-picker-prefix-cls} {
7 7 //position: relative;
  8 + display: inline-block;
8 9 line-height: normal;
9 10 &-rel{
10 11 position: relative;
... ...