fix: TimePicker panel align (#25019)

* fix: TimePicker panel align

* fix: padding

* fix: height

* fix: both
This commit is contained in:
xrkffgg 2020-06-18 10:54:45 +08:00 committed by GitHub
parent a5f3ac8348
commit 7f2d8a4a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -597,12 +597,21 @@
flex: 1 0 auto;
width: 56px;
margin: 0;
padding: 0 0 194px 0;
padding: 0;
overflow-y: hidden;
text-align: left;
list-style: none;
transition: background @animation-duration-slow;
&::after {
display: block;
height: 224px - @picker-time-panel-cell-height;
content: '';
.@{picker-prefix-cls}-datetime-panel & {
height: 224px - @picker-time-panel-cell-height + 2 * @border-width-base;
}
}
&:not(:first-child) {
border-left: @border-width-base @border-style-base @picker-border-color;
}