Browse Source

Fix scroll on info page

pull/39/head
Sacha Weatherstone 4 years ago
parent
commit
766e14e2de
No known key found for this signature in database GPG Key ID: 7AB2D7E206124B31
  1. 2
      src/App.tsx
  2. 2
      src/pages/Info.tsx

2
src/App.tsx

@ -19,7 +19,7 @@ export const App = (): JSX.Element => {
const device = getDevice(selectedDevice);
return (
<div className="flex h-full w-full">
<div className="flex h-screen w-full">
<DeviceSelector />
{device && (

2
src/pages/Info.tsx

@ -10,7 +10,7 @@ export const InfoPage = (): JSX.Element => {
const myNode = nodes.find((n) => n.data.num === hardware.myNodeNum);
return (
<div>
<div className="w-full overflow-y-auto">
<JSONPretty data={myNode} />
<JSONPretty data={hardware} />
</div>

Loading…
Cancel
Save