diff --git a/examples/routers/date.vue b/examples/routers/date.vue index 3a821d2..6abf0c3 100644 --- a/examples/routers/date.vue +++ b/examples/routers/date.vue @@ -1,5 +1,9 @@ <template> - <Date-picker type="daterange" placeholder="选择日期" disabled style="width: 200px"></Date-picker> + <div> + <Date-picker type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker> + <Date-picker type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker> + <Date-picker type="daterange" placeholder="选择日期" style="width: 200px"></Date-picker> + </div> </template> <script> export default { diff --git a/src/styles/components/date-picker.less b/src/styles/components/date-picker.less index cc49d1a..b50f099 100644 --- a/src/styles/components/date-picker.less +++ b/src/styles/components/date-picker.less @@ -5,6 +5,7 @@ .@{date-picker-prefix-cls} { //position: relative; + display: inline-block; line-height: normal; &-rel{ position: relative; -- libgit2 0.21.4