mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
Style: Fix form-item explain float bug, close #906
This commit is contained in:
parent
74fea6a911
commit
b1191a5c06
@ -42,7 +42,7 @@ class FormItem extends React.Component {
|
||||
}
|
||||
return (
|
||||
<div className={classes}>
|
||||
{c1} {c2}
|
||||
{c1}{c2}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user