From 3e2506136c2543a4f5b4fc1e7ad2eea72629a256 Mon Sep 17 00:00:00 2001 From: Paul Armstrong Date: Fri, 5 Feb 2021 15:56:04 -0800 Subject: [PATCH] fix(web): debug tables scrollable on small width screens --- web/src/Debug.jsx | 76 +++++++++++++++++++++++++---------------------- 1 file changed, 40 insertions(+), 36 deletions(-) diff --git a/web/src/Debug.jsx b/web/src/Debug.jsx index 57ea751df..6d164f3fb 100644 --- a/web/src/Debug.jsx +++ b/web/src/Debug.jsx @@ -49,49 +49,53 @@ export default function Debug() { Debug {service.version} - - - - - {detectorDataKeys.map((name) => ( - - ))} - - - - {detectorNames.map((detector, i) => ( - - +
+
detector{name.replace('_', ' ')}
{detector}
+ + + {detectorDataKeys.map((name) => ( - + ))} - ))} - -
detector{detectors[detector][name]}{name.replace('_', ' ')}
- - - - - - {cameraDataKeys.map((name) => ( - + + + {detectorNames.map((detector, i) => ( + + + {detectorDataKeys.map((name) => ( + + ))} + ))} - - - - {cameraNames.map((camera, i) => ( - - + +
camera{name.replace('_', ' ')}
{detector}{detectors[detector][name]}
- {camera} -
+ + +
+ + + + {cameraDataKeys.map((name) => ( - + ))} - ))} - -
camera{cameras[camera][name]}{name.replace('_', ' ')}
+ + + {cameraNames.map((camera, i) => ( + + + {camera} + + {cameraDataKeys.map((name) => ( + {cameras[camera][name]} + ))} + + ))} + + +
Config