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