Skip to content

Commit

Permalink
fix: upgrade package, remove max-width, fix scatter plot resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
thraizz committed Mar 2, 2024
1 parent 7d13a6a commit 0391830
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified bun.lockb
Binary file not shown.
6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ export const App = () => {
</p>
)}
</div>
{isLoggedIn && <SessionPicker />}
<UserMenu />
</header>
{isLoggedIn ? (
<div className="flex flex-grow flex-col gap-8 bg-gray-200 py-8">
<div className="flex flex-col items-center justify-center">
<div className="mx-auto w-full max-w-4xl p-4 bg-gray-100 rounded-md shadow-md flex flex-col gap-4">
<div className="flex mx-8 flex-col items-center justify-center">
<div className="w-full p-4 bg-gray-100 rounded-md shadow-md flex flex-col gap-4">
<h2 className="text-2xl font-bold">Sessions</h2>
<SessionPicker />
<DataTable />
<AveragesTable />
<AveragesScatterPlot />
Expand Down
2 changes: 1 addition & 1 deletion src/AveragesScatterPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const AveragesScatterPlot = () => {
/>
</div>
</div>
<Vega height={300} width={800} spec={spec} data={averages} />
<Vega width={1500} height={700} spec={spec} data={averages} />
</div>
</Disclosure.Panel>
</>
Expand Down

0 comments on commit 0391830

Please sign in to comment.