mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 11:28:30 +08:00
Checkboxes 删改icon位置优化
This commit is contained in:
parent
100f20b12f
commit
2bd478bb41
@ -31,7 +31,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
> a {
|
> a {
|
||||||
float: right;
|
// float: right;
|
||||||
margin-left: px2rem(5px);
|
margin-left: px2rem(5px);
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -125,6 +125,7 @@ export default class CheckboxesControl extends React.Component<
|
|||||||
labelClassName={labelClassName}
|
labelClassName={labelClassName}
|
||||||
description={option.description}
|
description={option.description}
|
||||||
>
|
>
|
||||||
|
{option[labelField || 'label']}
|
||||||
{removable ? (
|
{removable ? (
|
||||||
<a data-tooltip="移除" data-position="left">
|
<a data-tooltip="移除" data-position="left">
|
||||||
<Icon
|
<Icon
|
||||||
@ -143,7 +144,6 @@ export default class CheckboxesControl extends React.Component<
|
|||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
) : null}
|
) : null}
|
||||||
{option[labelField || 'label']}
|
|
||||||
</Checkbox>
|
</Checkbox>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user