Browse Source

adjust input style

pull/14857/head
zombiej 6 years ago
committed by 偏右
parent
commit
fcc3820545
  1. 1
      components/input/style/index.less
  2. 2
      components/input/style/mixin.less

1
components/input/style/index.less

@ -15,6 +15,7 @@
&-wrapper {
display: inline-block;
width: 100%;
text-align: start;
vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403
}
}

2
components/input/style/mixin.less

@ -50,6 +50,7 @@
color: @input-color;
font-size: @font-size-base;
line-height: @line-height-base;
text-align: inherit;
background-color: @input-bg;
background-image: none;
border: @border-width-base @border-style-base @input-border-color;
@ -346,6 +347,7 @@
position: relative;
display: inline-block;
width: 100%;
text-align: start;
&:hover .@{inputClass}:not(.@{inputClass}-disabled) {
.hover();

Loading…
Cancel
Save