Skip to content

Commit

Permalink
fix: Style property orders
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Jul 13, 2019
1 parent 5e79e51 commit 54a992c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion components/button/style/index.less
Expand Up @@ -24,8 +24,8 @@
> i,
> span {
display: inline-block;
pointer-events: none;
transition: margin-left 0.3s @ease-in-out;
pointer-events: none;
}

&-primary {
Expand Down
2 changes: 1 addition & 1 deletion components/descriptions/style/index.less
Expand Up @@ -53,8 +53,8 @@

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

Expand Down
6 changes: 3 additions & 3 deletions components/input/style/mixin.less
Expand Up @@ -370,18 +370,18 @@
position: absolute;
top: 50%;
z-index: 2;
height: calc(100% - 2px);
color: @input-color;
line-height: 0;
transform: translateY(-50%);
background-color: #fff;
height: calc(100% - 2px);
transform: translateY(-50%);
:not(.anticon) {
line-height: @line-height-base;
}
.anticon {
position: relative;
vertical-align: top;
top: 50%;
vertical-align: top;
transform: translateY(-50%);
}
}
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 54a992c

Please sign in to comment.