diff --git a/components/form/FormItem.jsx b/components/form/FormItem.jsx index 724bbabae6..fec9fa086a 100644 --- a/components/form/FormItem.jsx +++ b/components/form/FormItem.jsx @@ -42,7 +42,7 @@ class FormItem extends React.Component { } return (
- {c1} {c2} + {c1}{c2}
); } diff --git a/style/components/form.less b/style/components/form.less index 8a9c884def..139aa37514 100644 --- a/style/components/form.less +++ b/style/components/form.less @@ -107,11 +107,6 @@ input[type="checkbox"] { text-align: center; } -.@{css-prefix}form-explain { - float: left; -} - - // 表单下的输入框尺寸唯一: 大尺寸 form { .has-feedback { @@ -299,7 +294,7 @@ form { .is-validating { &.has-feedback:after { position: absolute; - bottom: 0; + top: 0; right: 0; font-family: "anticon" !important; .square(@input-height-lg);