Skip to content

Commit 355e5ab

Browse files
committed
Consistent chart title padding
1 parent 1513d8b commit 355e5ab

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

  • apps/webapp/app/components/primitives/charts

apps/webapp/app/components/primitives/charts/Card.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,11 @@ export const Card = ({ children, className }: { children: ReactNode; className?:
1515
);
1616
};
1717

18-
const CardHeader = ({
19-
children,
20-
draggable,
21-
}: {
22-
children: ReactNode;
23-
draggable?: boolean;
24-
}) => {
18+
const CardHeader = ({ children, draggable }: { children: ReactNode; draggable?: boolean }) => {
2519
return (
2620
<Header3
2721
className={cn(
28-
"drag-handle mb-3 flex items-center justify-between gap-2 px-3",
22+
"drag-handle mb-3 flex items-center justify-between gap-2 pl-4 pr-3",
2923
draggable && "cursor-grab active:cursor-grabbing"
3024
)}
3125
>

0 commit comments

Comments
 (0)