mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-26 04:19:49 +03:00
feat(ProfilePhoto): remove pointer
This commit is contained in:
parent
6900485e66
commit
fd547cba34
@ -34,14 +34,7 @@ function BoringAvatar({ avatarCss, ...props }) {
|
||||
let avatarUrl = `https://source.boringavatars.com/marble/${props.size}/${props.userId}?square&colors=${colors}`;
|
||||
return (
|
||||
<Dismissible captureResize={false} captureScroll={true}>
|
||||
<img
|
||||
src={avatarUrl}
|
||||
css={[avatarCss, STYLES_AVATAR]}
|
||||
style={{
|
||||
cursor: "pointer",
|
||||
}}
|
||||
alt="profile preview"
|
||||
/>
|
||||
<img src={avatarUrl} css={[avatarCss, STYLES_AVATAR]} alt="profile preview" />
|
||||
</Dismissible>
|
||||
);
|
||||
}
|
||||
@ -55,7 +48,6 @@ function UploadedAvatar({ avatarCss, ...props }) {
|
||||
style={{
|
||||
...props.style,
|
||||
backgroundImage: `url('${props.url}')`,
|
||||
cursor: "pointer",
|
||||
}}
|
||||
>
|
||||
{props.visible ? props.popover : null}
|
||||
|
Loading…
Reference in New Issue
Block a user