Skip to content

Commit

Permalink
fix: chartes responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshpaliyal committed Dec 28, 2024
1 parent 0d40e5f commit ff177c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function App({ json, resetJson }: { json: string | undefined, resetJson: () => v
};

return (
<div className="flex flex-col h-dvh">
<div className="flex flex-col">
<div className="md:flex flex-row flex-1 w-full">
<div className="flex flex-1 flex-col p-4">
<div className="w-full flex flex-row gap-2 pb-4 max-md:flex-col">
Expand Down Expand Up @@ -149,7 +149,7 @@ function App({ json, resetJson }: { json: string | undefined, resetJson: () => v
className="max-md:flex-1"
variant={"outline"}
onClick={() => {
let value = window.prompt("Save Baseline profile", "");
let value = window.prompt("Save macrobenchmark profile", "");
if (value) {
const localBenchMarksStr =
localStorage.getItem("benchmarks");
Expand Down
2 changes: 1 addition & 1 deletion src/CompareChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export function CompareChart({
<CardHeader>
<CardTitle>{filter?.metrics}</CardTitle>
</CardHeader>
<CardContent className="flex-1 flex">
<CardContent className="flex-1 flex-row">
<ChartContainer className="flex-1" config={chartConfig}>
<LineChart
accessibilityLayer
Expand Down

0 comments on commit ff177c7

Please sign in to comment.