update checkbox style

This commit is contained in:
afc163 2015-07-16 12:27:04 +08:00
parent b82e8fc50f
commit 86b722671a
2 changed files with 6 additions and 1 deletions

View File

@ -9,9 +9,12 @@
````jsx
var Checkbox = antd.Checkbox;
var container = document.getElementById('components-checkbox-demo-basic');
function onChange(checked){
console.log('checked = ' + checked);
}
React.render(<label><Checkbox defaultChecked={false} onChange={onChange}/> &nbsp; &nbsp; checkbox</label>, container);
React.render(<label>
<Checkbox defaultChecked={false} onChange={onChange}/> Checkbox
</label>, container);
````

View File

@ -7,7 +7,9 @@
cursor: pointer;
outline: none;
display: inline-block;
line-height: 1;
position: relative;
vertical-align: middle;
&:hover {
.@{checkboxInnerPrefixCls} {