Skip to content

Commit ed4e614

Browse files
committed
fix: raise ProviderInstanceIcon root z-index to z-20
CodeRabbit: z-20 nested in isolated context can't outrank sibling NEW_BADGE_CLASS (absolute z-10). Raise root stacking level so the entire component stacks above the badge. Co-authored-by: opencode
1 parent bf67ec8 commit ed4e614

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const ProviderInstanceIcon = memo(function ProviderInstanceIcon(props: {
2929
return (
3030
<span
3131
className={cn(
32-
"relative isolate inline-flex shrink-0 items-center justify-center overflow-visible",
32+
"relative isolate z-20 inline-flex shrink-0 items-center justify-center overflow-visible",
3333
props.className,
3434
)}
3535
style={accentStyle}

0 commit comments

Comments
 (0)