From 124856baac29e1dc7fb9952a6f29b6ff54bf84ef Mon Sep 17 00:00:00 2001 From: csawatzky Date: Wed, 10 Jun 2026 16:40:50 -0600 Subject: [PATCH] made some changes to the checkbox for the labels, and made sure that the tabs are scrollable in mobile view --- src/bin/bin3dVisualizer.tsx | 96 ++++++++++---------- src/bin/binSummary/components/binDetails.tsx | 11 ++- 2 files changed, 56 insertions(+), 51 deletions(-) diff --git a/src/bin/bin3dVisualizer.tsx b/src/bin/bin3dVisualizer.tsx index 54a99ac..10da23f 100644 --- a/src/bin/bin3dVisualizer.tsx +++ b/src/bin/bin3dVisualizer.tsx @@ -103,55 +103,53 @@ export default function bin3dVisualizer(props: Props){ const heatmapDisplay = () => { return ( - - Heatmap Display - { - setShowLabels(checked) - }} - /> - } - label={Show Values} - /> - - - {/* Display */} - - + + Heatmap + + + + + {/* Checkbox moved below dropdown — no longer affects top alignment */} + setShowLabels(checked)} + /> + } + label={Show Values} + sx={{ mt: 0.5, ml: '-9px' }} + /> ) } diff --git a/src/bin/binSummary/components/binDetails.tsx b/src/bin/binSummary/components/binDetails.tsx index 1e42eee..fc54bd2 100644 --- a/src/bin/binSummary/components/binDetails.tsx +++ b/src/bin/binSummary/components/binDetails.tsx @@ -73,8 +73,15 @@ export default function BinDetails (props: Props) { onChange={(_, value) => setCurrentTab(value)} indicatorColor="primary" textColor="primary" - variant="fullWidth" - sx={{ flexShrink: 0 }}> + variant="scrollable" + scrollButtons="auto" + allowScrollButtonsMobile + sx={{ + flexShrink: 0, + '& .MuiTabs-scroller': { + overflowX: 'auto !important', + } + }}> {isMobile && }