Fix scroll on info page

This commit is contained in:
Sacha Weatherstone
2022-09-22 23:41:24 +10:00
parent f5255335de
commit 766e14e2de
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export const App = (): JSX.Element => {
const device = getDevice(selectedDevice); const device = getDevice(selectedDevice);
return ( return (
<div className="flex h-full w-full"> <div className="flex h-screen w-full">
<DeviceSelector /> <DeviceSelector />
{device && ( {device && (
+1 -1
View File
@@ -10,7 +10,7 @@ export const InfoPage = (): JSX.Element => {
const myNode = nodes.find((n) => n.data.num === hardware.myNodeNum); const myNode = nodes.find((n) => n.data.num === hardware.myNodeNum);
return ( return (
<div> <div className="w-full overflow-y-auto">
<JSONPretty data={myNode} /> <JSONPretty data={myNode} />
<JSONPretty data={hardware} /> <JSONPretty data={hardware} />
</div> </div>