Browse Source

DatePicker: fix style for ranged picker after #10064 (#10114)

杨奕 7 years ago
parent
commit
22463fb404
1 changed files with 6 additions and 0 deletions
  1. 6 0
      packages/theme-chalk/src/date-picker/picker.scss

+ 6 - 0
packages/theme-chalk/src/date-picker/picker.scss

@@ -80,9 +80,15 @@
 
 @include b(range-editor) {
   &.el-input__inner {
+    display: inline-flex;
+    align-items: center;
     padding: 3px 10px;
   }
 
+  .el-range-input {
+    line-height: 1;
+  }
+
   @include when(active) {
     border-color: $--color-primary;