]> git.immae.eu Git - github/fretlink/time-picker.git/commitdiff
Fix Select max-height and overflow
authorSun Lee <sunlee.newyork@gmail.com>
Fri, 16 Jun 2017 19:31:20 +0000 (15:31 -0400)
committerSun Lee <sunlee.newyork@gmail.com>
Fri, 16 Jun 2017 19:31:20 +0000 (15:31 -0400)
assets/index/Select.less

index 8bec4a079b13142fcb7ca313dbddea999e97de0c..ecef8a85fd8e2538a4cde820141775a08276e3d4 100644 (file)
@@ -6,7 +6,8 @@
   margin-left: -1px;
   box-sizing: border-box;
   width: 56px;
-  overflow: hidden;
+  max-height: 144px;
+  overflow-y: auto;
   position: relative; // Fix chrome weird render bug
 
   &-active {
@@ -28,7 +29,6 @@
     margin: 0;
     padding: 0;
     width: 100%;
-    max-height: 144px;
   }
 
   li {