mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
* Revert "fix: Style property orders" This reverts commit54a992c359
. * Revert "fix: optimize Input presuffix style(#17414)" This reverts commit9691d2bee1
.
This commit is contained in:
parent
491e38838b
commit
5b7c922594
@ -24,8 +24,8 @@
|
||||
> i,
|
||||
> span {
|
||||
display: inline-block;
|
||||
transition: margin-left 0.3s @ease-in-out;
|
||||
pointer-events: none;
|
||||
transition: margin-left 0.3s @ease-in-out;
|
||||
}
|
||||
|
||||
&-primary {
|
||||
|
@ -53,8 +53,8 @@
|
||||
|
||||
&-item-no-label {
|
||||
&::after {
|
||||
margin: 0;
|
||||
content: '';
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -370,20 +370,12 @@
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
z-index: 2;
|
||||
height: calc(100% - 2px);
|
||||
color: @input-color;
|
||||
line-height: 0;
|
||||
background-color: #fff;
|
||||
transform: translateY(-50%);
|
||||
:not(.anticon) {
|
||||
line-height: @line-height-base;
|
||||
}
|
||||
.anticon {
|
||||
position: relative;
|
||||
top: 50%;
|
||||
vertical-align: top;
|
||||
transform: translateY(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.@{inputClass}-prefix {
|
||||
|
@ -11,9 +11,9 @@
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: auto;
|
||||
line-height: unset;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
line-height: unset;
|
||||
white-space: pre-wrap;
|
||||
vertical-align: bottom;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user