* Revert "fix: Style property orders"

This reverts commit 54a992c359.

* Revert "fix: optimize Input presuffix style(#17414)"

This reverts commit 9691d2bee1.
This commit is contained in:
Wei Zhu 2019-07-15 15:04:51 +08:00 committed by zombieJ
parent 491e38838b
commit 5b7c922594
4 changed files with 3 additions and 11 deletions

View File

@ -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 {

View File

@ -53,8 +53,8 @@
&-item-no-label {
&::after {
margin: 0;
content: '';
margin: 0;
}
}

View File

@ -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 {

View File

@ -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;