فهرست منبع

【修改】防止浏览器缩放搜索模块布局错位

howie 2 سال پیش
والد
کامیت
eac3cf2747
1فایلهای تغییر یافته به همراه14 افزوده شده و 3 حذف شده
  1. 14 3
      src/styles/element-ui.scss

+ 14 - 3
src/styles/element-ui.scss

@@ -15,7 +15,6 @@
   display: none;
 }
 
-
 // to fixed https://github.com/ElemeFE/element/issues/2461
 .el-dialog {
   transform: none;
@@ -35,11 +34,23 @@
     }
   }
 }
-
+//  防止浏览器缩放搜索模块布局错位
+.el-range-editor--mini.el-input__inner {
+  display: -webkit-inline-box;
+  display: -ms-inline-flexbox;
+  display: inline-flex;
+  -webkit-box-align: center;
+  -ms-flex-align: center;
+  align-items: center;
+  padding: 2px 10px !important;
+}
+.el-range-editor--mini.el-input__inner {
+  height: 28px !important;
+}
 // dropdown
 .el-dropdown-menu {
   a {
-    display: block
+    display: block;
   }
 }