Skip to content

Commit

Permalink
Revert #17508 (#17639)
Browse files Browse the repository at this point in the history
* Revert "fix: Style property orders"

This reverts commit 54a992c.

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

This reverts commit 9691d2b.
  • Loading branch information
yesmeck authored and zombieJ committed Jul 15, 2019
1 parent 491e388 commit 5b7c922
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion components/button/style/index.less
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion components/descriptions/style/index.less
Expand Up @@ -53,8 +53,8 @@

&-item-no-label {
&::after {
margin: 0;
content: '';
margin: 0;
}
}

Expand Down
8 changes: 0 additions & 8 deletions components/input/style/mixin.less
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion components/mentions/style/index.less
Expand Up @@ -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;

Expand Down

0 comments on commit 5b7c922

Please sign in to comment.