fix: Group icon in mention menu

This commit is contained in:
Tom Moor committed 2025-10-18 22:09:34 -04:00
1 parent 092528f9cd
commit 33fd46bb71
5 files changed
+9 -8

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ export function GroupAvatar({
return (
<Squircle color={color ?? theme.text} size={size} className={className}>
<GroupIcon
data-fixed-color
color={backgroundColor ?? theme.background}
size={size * 0.75}
/>
@@ -57,7 +57,7 @@ const BaseMenuItemCSS = css<BaseMenuItemProps>`
box-shadow: none;
cursor: var(--pointer);
svg {
svg:not([data-fixed-color]) {
color: ${props.theme.accentText};
fill: ${props.theme.accentText};
}
@@ -78,7 +78,7 @@ const BaseMenuItemCSS = css<BaseMenuItemProps>`
box-shadow: none;
cursor: var(--pointer);
svg {
svg:not([data-fixed-color]) {
color: ${props.theme.accentText};
fill: ${props.theme.accentText};
}
+1 -1
View File
@@ -111,7 +111,7 @@ function MentionMenu({ search, isActive, ...rest }: Props) {
justify="center"
style={{ width: 24, height: 24, marginRight: 4 }}
>
<GroupAvatar group={group} />
<GroupAvatar group={group} size={AvatarSize.Small} />
</Flex>
),
title: group.name,
+1 -1
View File
@@ -181,7 +181,7 @@
"node-fetch": "2.7.0",
"nodemailer": "^7.0.7",
"octokit": "^3.2.2",
"outline-icons": "^3.13.0",
"outline-icons": "^3.13.1",
"oy-vey": "^0.12.1",
"passport": "^0.7.0",
"passport-google-oauth2": "^0.2.0",
+4 -4
View File
@@ -11602,10 +11602,10 @@ os-tmpdir@~1.0.2:
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
integrity "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g=="
outline-icons@^3.13.0:
version "3.13.0"
resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-3.13.0.tgz#d44126f87e3a8be5d9c47585a885e0fab3ea9467"
integrity sha512-yJLnLdwr1Kn/ZzcBXvbboEh/iml0h5RtSUo5K5fTO7kN3MMSLf/VeX6zy62VZzoWMWdqv3lBudHDukmbODi7Fg==
outline-icons@^3.13.1:
version "3.13.1"
resolved "https://registry.yarnpkg.com/outline-icons/-/outline-icons-3.13.1.tgz#1a2ca99b76d962d1e626662e5ce486b0773c5371"
integrity sha512-3ahmELg1g5JWNqtJWmOH4Dv4ESR9A1a1iROs2D+h9wn17+Pcy1sPJhe1YpldZYHIxVPdVKNuMlHIfxKiWheinw==
own-keys@^1.0.0:
version "1.0.1"