feat(core): adjust workspace avatar style (#6652)

![CleanShot 2024-04-22 at 12 13 04@2x](https://github.com/toeverything/AFFiNE/assets/13579374/225966de-6c2f-4bdc-a460-b96d15447808)
This commit is contained in:
EYHN
2024-04-22 08:16:40 +00:00
parent 9fd3f29d1b
commit ab7282213b
@@ -15,6 +15,8 @@ import { useCallback, useEffect, useState } from 'react';
import * as style from './style.css';
const avatarImageProps = { style: { borderRadius: 8 } };
export const ProfilePanel = () => {
const t = useAFFiNEI18N();
@@ -151,6 +153,8 @@ export const ProfilePanel = () => {
size={56}
url={avatarUrl}
name={name}
imageProps={avatarImageProps}
fallbackProps={avatarImageProps}
colorfulFallback
hoverIcon={isOwner ? <CameraIcon /> : undefined}
onRemove={canAdjustAvatar ? handleRemoveUserAvatar : undefined}