Skip to content

Commit

Permalink
title style and downlaod button
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorezz committed Nov 8, 2024
1 parent 4971d70 commit e62e63c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/RenderChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function RenderChart(ds: any) {
console.log("ds", ds);
return (
<div className="w-full h-full max-height-full">
{ds.name && <h1 className="text-4xl font-bold">{ds.name}</h1>}
{ds.name && <h4 className="text-xl font-bold">{ds.name}</h4>}
{ds.description && (
<p dangerouslySetInnerHTML={{ __html: `${ds.description}` }} />
)}
Expand Down Expand Up @@ -85,7 +85,7 @@ function RenderChart(ds: any) {
</div>
</div>
</div>
{echartInstance && (
{/* {echartInstance && (
<button
className="btn btn-primary btn-outline mt-4"
title={"Download PNG"}
Expand All @@ -99,7 +99,7 @@ function RenderChart(ds: any) {
>
{"Download"} PNG
</button>
)}
)} */}
</div>
);
}
Expand Down

0 comments on commit e62e63c

Please sign in to comment.