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 { &-wrapper {
display: inline-block; display: inline-block;
width: 100%; width: 100%;
text-align: start;
vertical-align: top; // https://github.com/ant-design/ant-design/issues/6403 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; color: @input-color;
font-size: @font-size-base; font-size: @font-size-base;
line-height: @line-height-base; line-height: @line-height-base;
text-align: inherit;
background-color: @input-bg; background-color: @input-bg;
background-image: none; background-image: none;
border: @border-width-base @border-style-base @input-border-color; border: @border-width-base @border-style-base @input-border-color;
@ -346,6 +347,7 @@
position: relative; position: relative;
display: inline-block; display: inline-block;
width: 100%; width: 100%;
text-align: start;
&:hover .@{inputClass}:not(.@{inputClass}-disabled) { &:hover .@{inputClass}:not(.@{inputClass}-disabled) {
.hover(); .hover();

Loading…
Cancel
Save