chore: update README
This commit is contained in:
@@ -86,7 +86,7 @@ export const VegaChart: React.FC<VegaChartProps> = ({ data, spec }) => {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="w-full h-full min-h-[300px]" ref={containerRef}>
|
||||
<div className="w-full h-full overflow-hidden" ref={containerRef}>
|
||||
<VegaEmbed
|
||||
spec={vegaSpec}
|
||||
options={{ actions: false }}
|
||||
|
||||
@@ -179,7 +179,7 @@ export function Dashboard() {
|
||||
}
|
||||
if (chart.chartSpec && rows.length > 0) {
|
||||
return (
|
||||
<div className="h-full w-full rounded-xl border border-zinc-100 p-2">
|
||||
<div className="h-full w-full rounded-xl border border-zinc-100 p-2 overflow-hidden">
|
||||
<VegaChart data={rows} spec={chart.chartSpec} />
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user