refactor: update styling in ConnectorIndicator and ChatShareButton components to prevent text selection, enhancing user interface consistency

This commit is contained in:
Anish Sarkar 2026-03-07 00:08:08 +05:30
parent 74e8fb1cee
commit c9d92ee5a0
2 changed files with 2 additions and 2 deletions

View file

@ -214,7 +214,7 @@ export const ConnectorIndicator: FC = () => {
<>
<Cable className="size-4 stroke-[1.5px]" />
{activeConnectorsCount > 0 && (
<span className="absolute -top-0.5 right-0 flex items-center justify-center min-w-[16px] h-4 px-1 text-[10px] font-medium rounded-full bg-primary text-primary-foreground shadow-sm">
<span className="absolute -top-0.5 right-0 flex items-center justify-center min-w-[16px] h-4 px-1 text-[10px] font-medium rounded-full bg-primary text-primary-foreground shadow-sm select-none">
{activeConnectorsCount > 99 ? "99+" : activeConnectorsCount}
</span>
)}