Skip to content

Commit 3bb9aac

Browse files
authored
Fix(webapp): Prevent big numbers on Queue page from jumping around when animating (#3007)
1 parent 283f88b commit 3bb9aac

File tree

1 file changed

+2
-2
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues

1 file changed

+2
-2
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues/route.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,14 +364,14 @@ export default function Page() {
364364
/>
365365
</div>
366366
}
367-
valueClassName={env.paused ? "text-warning" : undefined}
367+
valueClassName={cn(env.paused ? "text-warning" : undefined, "tabular-nums")}
368368
compactThreshold={1000000}
369369
/>
370370
<BigNumber
371371
title="Running"
372372
value={environment.running}
373373
animate
374-
valueClassName={limitClassName}
374+
valueClassName={cn(limitClassName, "tabular-nums")}
375375
suffix={
376376
limitStatus === "burst" ? (
377377
<span className={cn(limitClassName, "flex items-center gap-1")}>

0 commit comments

Comments
 (0)