Skip to content

Commit f58284e

Browse files
easyCZroboquat
authored andcommitted
[usage] Align credits and time in usage view
1 parent 4e4e2b5 commit f58284e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

components/dashboard/src/components/UsageView.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,9 @@ function UsageView({ attributionId }: UsageViewProps) {
302302
<span className="text-right text-gray-500 dark:text-gray-400 font-medium">
303303
{usage.credits}
304304
</span>
305-
<div className="flex">
306-
<span className="text-right truncate text-sm text-gray-400 dark:text-gray-500">
307-
{getMinutes(usage)}
308-
</span>
309-
</div>
305+
<span className="text-right text-sm text-gray-400 dark:text-gray-500">
306+
{getMinutes(usage)}
307+
</span>
310308
</div>
311309
<div className="my-auto" />
312310
<div className="flex flex-col col-span-3 my-auto">

0 commit comments

Comments
 (0)