Skip to content

Commit

Permalink
fix: show graph on lg again
Browse files Browse the repository at this point in the history
was not visible due to missing height
  • Loading branch information
thraizz committed Aug 9, 2024
1 parent 2f23df6 commit f60b50c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/panels/AveragesPerSessionGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import {
export type YFieldValue = string | number | null | undefined;
export type ClubDataForTable =
| {
x: string | null | undefined;
y: YFieldValue;
}[]
x: string | null | undefined;
y: YFieldValue;
}[]
| {
x: string | null | undefined;
y: YFieldValue;
club: string;
}[];
x: string | null | undefined;
y: YFieldValue;
club: string;
}[];

export const AveragesPerSessionGraph = ({
yField,
Expand Down Expand Up @@ -75,7 +75,7 @@ export const AveragesPerSessionGraph = ({

return (
<div className="block h-[400px] w-full">
<div className="hidden lg:block">
<div className="hidden h-[400px] w-full lg:block">
<VegaLite spec={spec} data={{ table: data }} />
</div>
<div className="h-[400px] w-full lg:hidden">
Expand Down

0 comments on commit f60b50c

Please sign in to comment.