From 41131dee2647f3d492fb00f8a67c9bcd916c17a0 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Fri, 14 Mar 2025 15:42:30 -0600 Subject: [PATCH] finished the bin page styling fixes --- src/bin/BinVisualizerV2.tsx | 40 ++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/src/bin/BinVisualizerV2.tsx b/src/bin/BinVisualizerV2.tsx index 79e61c1..a99e8e0 100644 --- a/src/bin/BinVisualizerV2.tsx +++ b/src/bin/BinVisualizerV2.tsx @@ -155,6 +155,9 @@ const useStyles = makeStyles((theme: Theme) => { sliderThumb: { left: 23 }, + mobileSliderThumb: { + left: 28 + }, sliderTrack: { height: "100%", }, @@ -1450,19 +1453,21 @@ export default function BinVisualizer(props: Props) { {(bin.inventoryControl() === pond.BinInventoryControl.BIN_INVENTORY_CONTROL_MANUAL || bin.inventoryControl() === pond.BinInventoryControl.BIN_INVENTORY_CONTROL_UNKNOWN) && ( - { - setGrainUpdate(true); - }} - style={{ - backgroundColor: "gold", - color: "black", - height: 40, - width: 40, - marginBottom: 10 - }}> - +/- - + + { + setGrainUpdate(true); + }} + style={{ + margin: "auto", + backgroundColor: "gold", + color: "black", + height: "100%", + width: isMobile ? 35 : 40 + }}> + +/- + + {binMode()} - + {overview()} - + {visual()} - {controls()} + {controls()} {plenum && pressure && fanPerformance()} {ambient && ambientDisplay()}