redesign overview

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-03-04 21:43:33 +01:00
parent 4cc2f7a329
commit ef9f204006
25 changed files with 311 additions and 114 deletions

View File

@@ -31,12 +31,7 @@ export function ReportPieChart({ data }: ReportPieChartProps) {
return (
<>
<div
className={cn(
'max-sm:-mx-3',
editMode && 'border border-border bg-white rounded-md p-4'
)}
>
<div className={cn('max-sm:-mx-3', editMode && 'card p-4')}>
<AutoSizer disableHeight>
{({ width }) => {
const height = Math.min(Math.max(width * 0.5625, 250), 400);