Преглед на файлове

Merge branch 'master' of git.proginn.com:zaixianjiaoyu/sourcecode

Go преди 5 години
родител
ревизия
81049a03cb
променени са 1 файла, в които са добавени 3 реда и са изтрити 6 реда
  1. 3 6
      front/project/www/components/Select/index.less

+ 3 - 6
front/project/www/components/Select/index.less

@@ -40,20 +40,19 @@
     overflow: hidden;
     position: absolute;
     bottom: 0;
-    left: 0;
-    right: 0;
+    left: 50%;
     background: #fff;
     border: 1px solid @line_color;
     border-radius: 4px;
     box-sizing: border-box;
     opacity: 0;
     z-index: 2;
-    transform: translateY(100%);
+    transform: translate(-50%, 100%);
 
     .select-option {
       height: 0;
       line-height: 25px;
-      padding-left: 10px;
+      padding: 0 10px;
       border-bottom: 1px solid transparent;
       font-size: 12px;
       cursor: pointer;
@@ -143,7 +142,6 @@
     }
 
     .select-option {
-      padding: 0;
       text-align: center;
       border: none;
     }
@@ -193,7 +191,6 @@
     }
 
     .select-option {
-      padding: 0;
       text-align: center;
       line-height: 30px;
       border: none;