Fix TimePicker panel style (#3793)

This commit is contained in:
afc163 2016-11-11 14:44:37 +08:00
parent 524a421d72
commit d6288e5994
2 changed files with 7 additions and 9 deletions

View File

@ -85,6 +85,7 @@
width: 56px;
overflow: hidden;
position: relative; // Fix chrome weird render bug
max-height: 144px;
&:hover {
overflow-y: auto;
@ -99,13 +100,16 @@
border-right: 0;
}
&:only-child {
width: 100%;
}
ul {
list-style: none;
box-sizing: border-box;
margin: 0;
padding: 0;
padding: 0 0 120px 0;
width: 100%;
max-height: 144px;
}
li {
@ -122,12 +126,6 @@
transition: background 0.3s ease;
}
li:last-child:after {
content: '';
height: 120px;
display: block;
}
li:hover {
background: tint(@primary-color, 90%);
}

View File

@ -65,7 +65,7 @@
"rc-switch": "~1.4.2",
"rc-table": "~5.0.0",
"rc-tabs": "~7.0.5",
"rc-time-picker": "~2.2.0",
"rc-time-picker": "~2.2.1",
"rc-tooltip": "~3.4.2",
"rc-tree": "~1.4.0",
"rc-tree-select": "~1.8.0",