mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
Fix some style
This commit is contained in:
parent
4953653947
commit
86b5c6eecc
@ -1,4 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import classNames from 'classnames';
|
||||||
|
|
||||||
function getCheckedValue(children) {
|
function getCheckedValue(children) {
|
||||||
let value = null;
|
let value = null;
|
||||||
@ -17,7 +18,6 @@ export default React.createClass({
|
|||||||
return {
|
return {
|
||||||
prefixCls: 'ant-radio-group',
|
prefixCls: 'ant-radio-group',
|
||||||
disabled: false,
|
disabled: false,
|
||||||
size: 'default',
|
|
||||||
onChange() {
|
onChange() {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -77,10 +77,10 @@ export default React.createClass({
|
|||||||
}
|
}
|
||||||
return radio;
|
return radio;
|
||||||
});
|
});
|
||||||
return (
|
const classString = classNames({
|
||||||
<div className={`${props.prefixCls} ${props.prefixCls}-${props.size}`}>
|
[props.prefixCls]: true,
|
||||||
{children}
|
[`${props.prefixCls}-${props.size}`]: props.size,
|
||||||
</div>
|
});
|
||||||
);
|
return <div className={classString}>{children}</div>;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -110,7 +110,6 @@
|
|||||||
input {
|
input {
|
||||||
height: 32px;
|
height: 32px;
|
||||||
line-height: 32px;
|
line-height: 32px;
|
||||||
font-size: 14px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.@{input-number-prefix-cls}-handler-up-inner {
|
.@{input-number-prefix-cls}-handler-up-inner {
|
||||||
|
Loading…
Reference in New Issue
Block a user