mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
fix: TimePicker panel align (#25019)
* fix: TimePicker panel align * fix: padding * fix: height * fix: both
This commit is contained in:
parent
a5f3ac8348
commit
7f2d8a4a50
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user