Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
wanjj_1210
ant-design
提交
b3340c6b
A
ant-design
项目概览
wanjj_1210
/
ant-design
与 Fork 源项目一致
从无法访问的项目Fork
通知
10
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
ant-design
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b3340c6b
编写于
2月 25, 2016
作者:
A
afc163
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix some style
上级
d62c87d0
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
12 addition
and
31 deletion
+12
-31
components/form/demo/validate-other.md
components/form/demo/validate-other.md
+1
-2
style/components/form.less
style/components/form.less
+0
-1
style/components/select.less
style/components/select.less
+11
-28
未找到文件。
components/form/demo/validate-other.md
浏览文件 @
b3340c6b
...
...
@@ -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
'
,
})
}
/>
吃饭饭
...
...
style/components/form.less
浏览文件 @
b3340c6b
...
...
@@ -168,7 +168,6 @@ form {
margin-right: 8px;
}
.@{calendar-prefix-cls}-picker,
.@{select-prefix-cls} {
width: 100%;
}
...
...
style/components/select.less
浏览文件 @
b3340c6b
...
...
@@ -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;
}
}
\ No newline at end of file
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录