mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:09:08 +08:00
调整下样式
This commit is contained in:
parent
d3027b421a
commit
122afbfd1c
@ -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>
|
||||
) : (
|
||||
<span>{option.label}</span>
|
||||
<div className={cx('NestedSelect-optionLabel')}>
|
||||
<span>{option.label}</span>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{option.children && option.children.length ? (
|
||||
|
Loading…
Reference in New Issue
Block a user