chore: update README

This commit is contained in:
qixinbo
2026-03-21 22:44:41 +08:00
parent 5ab9884bf6
commit 96f9d2f6b3
6 changed files with 157 additions and 12 deletions
+1 -1
View File
@@ -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 }}
+1 -1
View File
@@ -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>
);