fix: stroke color on pie and default report name

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-11-07 15:00:39 +01:00
parent e511ae5b9b
commit ea029648a5
2 changed files with 3 additions and 3 deletions

View File

@@ -100,8 +100,8 @@ export function Chart({ data }: Props) {
return (
<Cell
key={item.id}
strokeWidth={2}
stroke={'#fff'}
strokeWidth={4}
className="stroke-background"
fill={item.color}
/>
);

View File

@@ -65,7 +65,7 @@ const EditReportName = ({ name }: Props) => {
className="flex cursor-pointer select-none items-center gap-2 text-xl font-medium h-8 group"
onClick={() => setIsEditing(true)}
>
{newName ?? 'Unnamed Report'}
{newName || 'Unnamed Report'}
<PencilIcon
size={16}
className="opacity-0 group-hover:opacity-100 transition-opacity"