mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 16:17:02 +00:00
fix(ui): blur account identity badges in privacy mode
This commit is contained in:
1 parent
c21f589247
commit
dd62027d3f
5 files changed
+116
-3
No files matched your search
@@ -53,6 +53,7 @@ export function AccountStep({
|
||||
variant="outline"
|
||||
className={cn(
|
||||
'text-[10px] h-4 px-1.5 border-transparent',
|
||||
privacyMode && PRIVACY_BLUR_CLASS,
|
||||
codexBadge.audience === 'business'
|
||||
? 'bg-sky-500/12 text-sky-700 dark:text-sky-300'
|
||||
: codexBadge.audience === 'free'
|
||||
@@ -67,6 +68,7 @@ export function AccountStep({
|
||||
variant="outline"
|
||||
className={cn(
|
||||
'text-[10px] h-4 px-1.5 border-transparent',
|
||||
privacyMode && PRIVACY_BLUR_CLASS,
|
||||
identity.audience === 'business'
|
||||
? 'bg-sky-500/12 text-sky-700 dark:text-sky-300'
|
||||
: identity.audience === 'free'
|
||||
@@ -78,7 +80,10 @@ export function AccountStep({
|
||||
</Badge>
|
||||
) : null}
|
||||
{!codexBadge?.label && identity.detailLabel && (
|
||||
<Badge variant="outline" className="text-[10px] h-4 px-1.5">
|
||||
<Badge
|
||||
variant="outline"
|
||||
className={cn('text-[10px] h-4 px-1.5', privacyMode && PRIVACY_BLUR_CLASS)}
|
||||
>
|
||||
{identity.detailLabel}
|
||||
</Badge>
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user