mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
Fix TimePicker panel style (#3793)
This commit is contained in:
parent
524a421d72
commit
d6288e5994
@ -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%);
|
||||
}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user