Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

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

EYHNab7282213bda
diff --git a/packages/frontend/core/src/components/affine/setting-modal/workspace-setting/new-workspace-setting-detail/profile.tsx b/packages/frontend/core/src/components/affine/setting-modal/workspace-setting/new-workspace-setting-detail/profile.tsx
index 7f292b74e9..8fe671e60e 100644
--- a/packages/frontend/core/src/components/affine/setting-modal/workspace-setting/new-workspace-setting-detail/profile.tsx
+++ b/packages/frontend/core/src/components/affine/setting-modal/workspace-setting/new-workspace-setting-detail/profile.tsx
@@ -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}