mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
Fix some style
This commit is contained in:
parent
d62c87d036
commit
b3340c6b6b
@ -124,8 +124,7 @@ let Demo = React.createClass({
|
||||
<FormItem
|
||||
label="兴趣爱好:"
|
||||
labelCol={{ span: 7 }}
|
||||
wrapperCol={{ span: 12 }}
|
||||
help="Checkbox 必须设置 `valuePropName`">
|
||||
wrapperCol={{ span: 12 }}>
|
||||
<Checkbox {...getFieldProps('eat', {
|
||||
valuePropName: 'checked',
|
||||
})} />吃饭饭
|
||||
|
@ -168,7 +168,6 @@ form {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.@{calendar-prefix-cls}-picker,
|
||||
.@{select-prefix-cls} {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -147,9 +147,9 @@
|
||||
.ant-select-selection__rendered {
|
||||
li {
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
.ant-select-selection__choice__content {
|
||||
font-size: 14px;
|
||||
line-height: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -171,15 +171,7 @@
|
||||
.ant-select-selection__rendered {
|
||||
li {
|
||||
height: 14px;
|
||||
.ant-select-selection__choice__content {
|
||||
line-height: 14px;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
}
|
||||
.ant-select-selection__choice__remove {
|
||||
position: relative;
|
||||
top: -4px;
|
||||
}
|
||||
line-height: 14px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -200,9 +192,13 @@
|
||||
|
||||
&-search__field__placeholder {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 3px;
|
||||
color: #aaa;
|
||||
top: 50%;
|
||||
left: 9px;
|
||||
color: #ccc;
|
||||
line-height: 20px;
|
||||
height: 20px;
|
||||
margin-top: -10px;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
&-search--inline {
|
||||
@ -228,11 +224,6 @@
|
||||
min-height: 28px;
|
||||
cursor: text;
|
||||
|
||||
.@{select-prefix-cls}-search__field__placeholder {
|
||||
top: 6px;
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
.@{select-prefix-cls}-search--inline {
|
||||
width: auto;
|
||||
.@{select-prefix-cls}-search__field {
|
||||
@ -279,7 +270,7 @@
|
||||
.@{select-prefix-cls}-selection__choice__remove {
|
||||
.iconfont-mixin();
|
||||
color: #999;
|
||||
line-height: 20px;
|
||||
line-height: inherit;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
@ -318,10 +309,6 @@
|
||||
height: 100%;
|
||||
float: none;
|
||||
}
|
||||
.@{select-prefix-cls}-search__field__placeholder {
|
||||
left: 10px;
|
||||
cursor: text;
|
||||
}
|
||||
.@{select-prefix-cls}-search__field__wrap {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
@ -469,10 +456,6 @@
|
||||
.@{select-prefix-cls}-dropdown-search {
|
||||
display: block;
|
||||
padding: 4px;
|
||||
.@{select-prefix-cls}-search__field__placeholder {
|
||||
left: 7px;
|
||||
top: 5px;
|
||||
}
|
||||
.@{select-prefix-cls}-search__field__wrap {
|
||||
width: 100%;
|
||||
}
|
||||
@ -496,4 +479,4 @@
|
||||
& + .ant-input-group-wrap > button {
|
||||
top: -5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user