diff --git a/components/auto-complete/index.tsx b/components/auto-complete/index.tsx
index 6b4889523f..9fd2b424ac 100755
--- a/components/auto-complete/index.tsx
+++ b/components/auto-complete/index.tsx
@@ -52,7 +52,7 @@ export default class AutoComplete extends React.Component;
return (
- {element}
+ {element}
);
}
diff --git a/components/auto-complete/style/index.less b/components/auto-complete/style/index.less
index dc7e1c34b2..9b1505bafe 100644
--- a/components/auto-complete/style/index.less
+++ b/components/auto-complete/style/index.less
@@ -35,6 +35,12 @@
.@{input-prefix-cls} {
background: transparent;
+ border-width: @border-width-base;
+ line-height: @line-height-base;
+ &:focus,
+ &:hover {
+ .hover;
+ }
}
&-lg {
@@ -54,13 +60,5 @@
.input-sm();
}
}
-
- .@{input-prefix-cls} {
- border-width: @border-width-base;
- &:focus,
- &:hover {
- .hover;
- }
- }
}
}
diff --git a/components/table/style/index.less b/components/table/style/index.less
index 151e6c7fe6..11969c1a6e 100644
--- a/components/table/style/index.less
+++ b/components/table/style/index.less
@@ -461,7 +461,7 @@
}
&-item > label + span {
- padding: 0;
+ padding-right: 0;
}
&-sub {