Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions platform/src/app/[tenant]/dashboard/sections/CycleTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ interface Row {
function RankingChart({ rows }: { rows: Row[] }) {
const { t } = useTranslation();
return (
<div className="space-y-1.5">
<div className="space-y-2">
{rows.map((row) => (
<div
key={row.name}
Expand All @@ -136,7 +136,7 @@ function RankingChart({ rows }: { rows: Row[] }) {
>
{row.name}
</span>
<div className="h-4 overflow-hidden rounded-sm bg-muted">
<div className="h-6 overflow-hidden rounded-sm bg-muted">
<div
className={cn("h-full rounded-sm", rampClass(row.pctWithin24h))}
style={{ width: `${Math.max(2, row.pctWithin24h * 100)}%` }}
Expand All @@ -156,7 +156,7 @@ function RankingChart({ rows }: { rows: Row[] }) {

function DistributionChart({ rows }: { rows: Row[] }) {
return (
<div className="space-y-1.5">
<div className="space-y-2">
{rows.map((row) => {
const total =
row.buckets.same_day +
Expand All @@ -177,7 +177,7 @@ function DistributionChart({ rows }: { rows: Row[] }) {
>
{row.name}
</span>
<div className="flex h-4 w-full overflow-hidden rounded-sm bg-muted">
<div className="flex h-6 w-full overflow-hidden rounded-sm bg-muted">
{row.buckets.same_day > 0 && (
<span
className="h-full bg-bucket-same-day"
Expand Down
Loading