Skip to content

Commit 7cd732f

Browse files
authored
fix emoji rendering in collapsed project menu, darkmode ensures contr… (#39914)
1 parent 384095e commit 7cd732f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/lib/components/Account/ProjectMenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ export function ProjectMenu({
6666
className={cn('max-w-fit min-w-[40px]', iconOnly ? 'min-w-auto' : '', buttonProps.className)}
6767
>
6868
{iconOnly ? (
69-
<div className="Lettermark bg-[var(--color-bg-fill-button-tertiary-active)] w-5 h-5 ">
70-
{currentTeam.name.slice(0, 1).toLocaleUpperCase()}
69+
<div className="Lettermark bg-[var(--color-bg-fill-button-tertiary-active)] w-5 h-5 dark:text-tertiary">
70+
{String.fromCodePoint(currentTeam.name.codePointAt(0)!).toLocaleUpperCase()}
7171
</div>
7272
) : (
7373
<span className="truncate">{currentTeam.name ?? 'Project'}</span>

0 commit comments

Comments
 (0)