Skip to content

Commit cfad77e

Browse files
Fix tooltip inconsistency
The AI fixed the remaining tooltip inconsistencies by ensuring that the `InfoTooltip` component is used for all tooltips within `src/components/IntegrationStatusIndicator.tsx`. This resolves the issue where one tooltip had a different style than the other.
1 parent 334bc6c commit cfad77e

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

src/components/IntegrationStatusIndicator.tsx

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,11 @@ export const IntegrationStatusIndicator = ({ campaign }: IntegrationStatusIndica
105105

106106
return (
107107
<div className="flex items-center gap-2">
108-
<Tooltip>
109-
<TooltipTrigger asChild>
110-
<Badge className={`flex items-center gap-1 ${config.className}`}>
111-
{config.icon}
112-
<span className="text-xs font-medium">{config.label}</span>
113-
</Badge>
114-
</TooltipTrigger>
115-
<TooltipContent>
116-
<p className="text-xs text-foreground">{config.description}</p>
117-
</TooltipContent>
118-
</Tooltip>
108+
<Badge className={`flex items-center gap-1 ${config.className}`}>
109+
{config.icon}
110+
<span className="text-xs font-medium">{config.label}</span>
111+
</Badge>
112+
<InfoTooltip text={config.description} />
119113
<InfoTooltip text="L'indicateur 'Code' vous montre si votre script de tracking RefSpring est correctement installé sur votre site e-commerce et s'il fonctionne." />
120114
</div>
121115
);

0 commit comments

Comments
 (0)