fix: stroke color on pie and default report name
This commit is contained in:
@@ -100,8 +100,8 @@ export function Chart({ data }: Props) {
|
|||||||
return (
|
return (
|
||||||
<Cell
|
<Cell
|
||||||
key={item.id}
|
key={item.id}
|
||||||
strokeWidth={2}
|
strokeWidth={4}
|
||||||
stroke={'#fff'}
|
className="stroke-background"
|
||||||
fill={item.color}
|
fill={item.color}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -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"
|
className="flex cursor-pointer select-none items-center gap-2 text-xl font-medium h-8 group"
|
||||||
onClick={() => setIsEditing(true)}
|
onClick={() => setIsEditing(true)}
|
||||||
>
|
>
|
||||||
{newName ?? 'Unnamed Report'}
|
{newName || 'Unnamed Report'}
|
||||||
<PencilIcon
|
<PencilIcon
|
||||||
size={16}
|
size={16}
|
||||||
className="opacity-0 group-hover:opacity-100 transition-opacity"
|
className="opacity-0 group-hover:opacity-100 transition-opacity"
|
||||||
|
|||||||
Reference in New Issue
Block a user