Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: put solid surface color behind user profile pictures (#3891)

Peter Chinmanf766d60578f8
diff --git a/js/app/packages/core/component/UserIcon.tsx b/js/app/packages/core/component/UserIcon.tsx
index 4e1b496097..3ea4340af4 100644
--- a/js/app/packages/core/component/UserIcon.tsx
+++ b/js/app/packages/core/component/UserIcon.tsx
@@ -100,6 +100,9 @@ function ProfileImage(props: {
>
{(url) => (
<Avatar.Image
+ // Solid surface circle behind the picture so a transparent profile
+ // picture shows surface color rather than what's rendered behind the avatar.
+ class="bg-surface"
src={staticFileSizedUrl(url, 'small')}
onError={(e) => {
if (e.currentTarget.src !== url) {