diff options
Diffstat (limited to 'assets/index')
-rw-r--r-- | assets/index/Picker.less | 2 | ||||
-rw-r--r-- | assets/index/Select.less | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/assets/index/Picker.less b/assets/index/Picker.less index 76bf834..bc7deb5 100644 --- a/assets/index/Picker.less +++ b/assets/index/Picker.less | |||
@@ -1,6 +1,6 @@ | |||
1 | .@{prefixClass} { | 1 | .@{prefixClass} { |
2 | &-input { | 2 | &-input { |
3 | width: 100%; | 3 | width: 150px; |
4 | position: relative; | 4 | position: relative; |
5 | display: inline-block; | 5 | display: inline-block; |
6 | padding: 4px 7px; | 6 | padding: 4px 7px; |
diff --git a/assets/index/Select.less b/assets/index/Select.less index bca25f9..3e94c11 100644 --- a/assets/index/Select.less +++ b/assets/index/Select.less | |||
@@ -7,6 +7,7 @@ | |||
7 | box-sizing: border-box; | 7 | box-sizing: border-box; |
8 | width: 56px; | 8 | width: 56px; |
9 | overflow: hidden; | 9 | overflow: hidden; |
10 | position: relative; // Fix chrome weird render bug | ||
10 | 11 | ||
11 | &:hover { | 12 | &:hover { |
12 | overflow-y: auto; | 13 | overflow-y: auto; |
@@ -32,7 +33,7 @@ | |||
32 | 33 | ||
33 | li { | 34 | li { |
34 | list-style: none; | 35 | list-style: none; |
35 | box-sizing: border-box; | 36 | box-sizing: content-box; |
36 | margin: 0; | 37 | margin: 0; |
37 | padding: 0 0 0 16px; | 38 | padding: 0 0 0 16px; |
38 | width: 100%; | 39 | width: 100%; |