diff --git a/components/form/demo/search-input.md b/components/form/demo/search-input.md index 9efbada08f011bd450c72f04b68e4a7121731359..8935567d3a5584309bb3cb7d03414ceb27154542 100644 --- a/components/form/demo/search-input.md +++ b/components/form/demo/search-input.md @@ -16,7 +16,7 @@ const SearchInput = React.createClass({ getInitialState() { return { value: '', - focus: false + focus: false, }; }, handleInputChange(e) { @@ -48,7 +48,7 @@ const SearchInput = React.createClass({
-
diff --git a/style/components/form.less b/style/components/form.less index 0e7d4ad6f301843cadcfb1c6796aa349202a7af4..78fe4e65d16811c829c91415877c6902e95c502b 100644 --- a/style/components/form.less +++ b/style/components/form.less @@ -204,7 +204,8 @@ form { .ant-search-btn { .btn-default; border-radius: 0 @border-radius-base - 1 @border-radius-base - 1 0; - margin-left: -30px; + margin-left: -100%; + left: -1px; position: relative; border-width: 0 0 0 1px; z-index: 2;