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