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