Skip to content

Commit bf67ec8

Browse files
committed
fix: bump z-index to z-20 in ProviderInstanceIcon to prevent badge overlap
Address macroscopeapp review thread: badge paints over icon because z-10 is insufficient in the isolated stacking context. Co-authored-by: opencode
1 parent e421223 commit bf67ec8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/components/chat/ProviderInstanceIcon.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ export const ProviderInstanceIcon = memo(function ProviderInstanceIcon(props: {
3636
data-provider-accent-color={props.accentColor}
3737
>
3838
{Icon ? (
39-
<Icon className={cn("size-5 shrink-0 relative z-10", props.iconClassName)} aria-hidden />
39+
<Icon className={cn("size-5 shrink-0 relative z-20", props.iconClassName)} aria-hidden />
4040
) : (
4141
<span
4242
className={cn(
43-
"text-[10px] font-semibold leading-none relative z-10",
43+
"text-[10px] font-semibold leading-none relative z-20",
4444
props.iconClassName,
4545
)}
4646
>

0 commit comments

Comments
 (0)