fix: cap inline bar chart max width at 75%
Prevents the top item from spanning full width, making bars read more clearly as proportional indicators.
This commit is contained in:
@@ -60,7 +60,7 @@ export default function FrustrationByPageTable({ pages, loading }: FrustrationBy
|
||||
{/* Rows */}
|
||||
<div className="space-y-0.5">
|
||||
{pages.map((page) => {
|
||||
const barWidth = (page.total / maxTotal) * 100
|
||||
const barWidth = (page.total / maxTotal) * 75
|
||||
return (
|
||||
<div
|
||||
key={page.page_path}
|
||||
|
||||
Reference in New Issue
Block a user