aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/index/Select.less
diff options
context:
space:
mode:
authorafc163 <afc163@gmail.com>2015-12-11 20:12:10 +0800
committerafc163 <afc163@gmail.com>2015-12-11 20:12:10 +0800
commit5c1299b09986b98ac228ecd77b98ffa13a6597c2 (patch)
tree67e2df4943de00704fd5a6bc8816b0969d91ad74 /assets/index/Select.less
parent5fcf22e028bf878c5be854c19074480cadf8b4bc (diff)
downloadtime-picker-5c1299b09986b98ac228ecd77b98ffa13a6597c2.tar.gz
time-picker-5c1299b09986b98ac228ecd77b98ffa13a6597c2.tar.zst
time-picker-5c1299b09986b98ac228ecd77b98ffa13a6597c2.zip
Fix chrome weird render bug, close #9
Diffstat (limited to 'assets/index/Select.less')
-rw-r--r--assets/index/Select.less3
1 files changed, 2 insertions, 1 deletions
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%;