Skip to content

Commit f83f430

Browse files
committed
redesign tooltip
1 parent 2ddb802 commit f83f430

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/dashboard/components/charts/metrics-chart.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,10 @@ export function MetricsChart({
396396

397397
{!refAreaLeft && annotations.length === 0 && !tipDismissed && (
398398
<div className="absolute top-4 right-4 z-10">
399-
<div className="flex items-center gap-2 rounded border bg-popover px-3 py-2 text-muted-foreground text-xs shadow-sm">
400-
<span>💡 Click or drag on chart to create annotations</span>
399+
<div className="flex items-center gap-2 rounded-lg border bg-card px-3 py-2 shadow-sm">
400+
<span className="text-muted-foreground text-xs">
401+
Click or drag on chart to create annotations
402+
</span>
401403
<button
402404
aria-label="Dismiss tip"
403405
className="text-muted-foreground transition-colors hover:text-foreground"

0 commit comments

Comments
 (0)