Skip to content

Commit b590145

Browse files
committed
Stop wrapping change arrow, unify with ComparisonTooltipContent
1 parent 97e64a7 commit b590145

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

assets/js/dashboard/stats/graph/main-graph.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -335,13 +335,11 @@ const MainGraphTooltip = ({
335335
</div>
336336
{datum.comparisonTimeLabel !== null &&
337337
typeof datum.change === 'number' && (
338-
<div className="inline-flex items-center space-x-1">
339-
<ChangeArrow
340-
className=""
341-
metric={metric as Metric}
342-
change={datum.change}
343-
/>
344-
</div>
338+
<ChangeArrow
339+
className="text-xs/6 font-medium text-white whitespace-nowrap"
340+
metric={metric as Metric}
341+
change={datum.change}
342+
/>
345343
)}
346344
</div>
347345
<div className="flex flex-col">

0 commit comments

Comments
 (0)