调整下样式
This commit is contained in:
parent
c8075250d5
commit
a87817d1ca
|
@ -130,7 +130,7 @@
|
|||
cursor: pointer;
|
||||
display: flex;
|
||||
|
||||
> label {
|
||||
> .#{$ns}NestedSelect-optionLabel {
|
||||
flex: 1;
|
||||
cursor: pointer;
|
||||
span {
|
||||
|
|
|
@ -452,6 +452,7 @@ export default class NestedSelectControl extends React.Component<
|
|||
>
|
||||
{multiple ? (
|
||||
<Checkbox
|
||||
className={cx('NestedSelect-optionLabel')}
|
||||
onChange={this.handleCheck.bind(this, option, index)}
|
||||
trueValue={option.value}
|
||||
checked={selfChecked}
|
||||
|
@ -460,7 +461,9 @@ export default class NestedSelectControl extends React.Component<
|
|||
{option.label}
|
||||
</Checkbox>
|
||||
) : (
|
||||
<div className={cx('NestedSelect-optionLabel')}>
|
||||
<span>{option.label}</span>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{option.children && option.children.length ? (
|
||||
|
|
Loading…
Reference in New Issue