diff options
author | Sun Lee <sunlee.newyork@gmail.com> | 2017-06-16 15:31:20 -0400 |
---|---|---|
committer | Sun Lee <sunlee.newyork@gmail.com> | 2017-06-16 15:31:20 -0400 |
commit | 7440ae22b87a3673ef84315420cd4df550ad93fb (patch) | |
tree | d9f6f84408158e211e3810fec6aef60f3c8e141a | |
parent | 227e6ec28c733bba0a4b56e0583058489c0684a6 (diff) | |
download | time-picker-7440ae22b87a3673ef84315420cd4df550ad93fb.tar.gz time-picker-7440ae22b87a3673ef84315420cd4df550ad93fb.tar.zst time-picker-7440ae22b87a3673ef84315420cd4df550ad93fb.zip |
Fix Select max-height and overflow
-rw-r--r-- | assets/index/Select.less | 4 |
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 { |