diff --git a/src/components/uploader/index.module.sass b/src/components/uploader/index.module.sass index 191623a82..e2b0b4d72 100644 --- a/src/components/uploader/index.module.sass +++ b/src/components/uploader/index.module.sass @@ -18,9 +18,10 @@ .DfRemoveCover @extend .DfRemoveIcon + position: absolute + top: $space_small + right: $space_small color: #fff - margin-left: -2.5rem - margin-top: .5rem width: 32px height: 32px justify-content: center diff --git a/src/components/uploader/index.tsx b/src/components/uploader/index.tsx index 94bc73401..c4bce08a5 100644 --- a/src/components/uploader/index.tsx +++ b/src/components/uploader/index.tsx @@ -139,7 +139,7 @@ type InnerUploadProps = BaseUploadProps & { export const PreviewUploadedImage = ({ imgUrl, onRemove, className, style }: ImagePreviewProps) => { return ( -