Browse Source

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

杨奕 7 năm trước cách đây
mục cha
commit
22463fb404

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

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