aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
author偏右 <afc163@gmail.com>2017-10-22 16:28:42 +0800
committerGitHub <noreply@github.com>2017-10-22 16:28:42 +0800
commit18b5785f0f551f8b97d40a1eb31d80d8cc5db562 (patch)
tree2caf7adcf0bbca8667e604673fe293dc3c36c34b
parentb6767d8a08ccfc52836e09e3a0886a5cf225b93f (diff)
parent7440ae22b87a3673ef84315420cd4df550ad93fb (diff)
downloadtime-picker-18b5785f0f551f8b97d40a1eb31d80d8cc5db562.tar.gz
time-picker-18b5785f0f551f8b97d40a1eb31d80d8cc5db562.tar.zst
time-picker-18b5785f0f551f8b97d40a1eb31d80d8cc5db562.zip
Merge pull request #50 from sunlee-newyork/master
Fix Select max-height and overflow
-rw-r--r--assets/index/Select.less4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/index/Select.less b/assets/index/Select.less
index 8bec4a0..ecef8a8 100644
--- a/assets/index/Select.less
+++ b/assets/index/Select.less
@@ -6,7 +6,8 @@
6 margin-left: -1px; 6 margin-left: -1px;
7 box-sizing: border-box; 7 box-sizing: border-box;
8 width: 56px; 8 width: 56px;
9 overflow: hidden; 9 max-height: 144px;
10 overflow-y: auto;
10 position: relative; // Fix chrome weird render bug 11 position: relative; // Fix chrome weird render bug
11 12
12 &-active { 13 &-active {
@@ -28,7 +29,6 @@
28 margin: 0; 29 margin: 0;
29 padding: 0; 30 padding: 0;
30 width: 100%; 31 width: 100%;
31 max-height: 144px;
32 } 32 }
33 33
34 li { 34 li {