From 2e11d2361b256886b04ab27e0a082aaa46ccfdf7 Mon Sep 17 00:00:00 2001 From: Renna Carver <87547832+rennacarver@users.noreply.github.com> Date: Wed, 23 Oct 2024 05:44:22 -0700 Subject: [PATCH] reset isPermutationsHidden when switching permutation mode --- src/App.css | 2 +- src/App.jsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.css b/src/App.css index e2c1d44..eca8de7 100644 --- a/src/App.css +++ b/src/App.css @@ -93,7 +93,7 @@ input { position: relative; top: 10px; left: 3px; - width: calc(20px + 2vw); + width: calc(25px + 2vw); } .small { diff --git a/src/App.jsx b/src/App.jsx index 7b40eee..4c6f35f 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -113,6 +113,7 @@ function App() { const handlePermModeChange = () => { setPermutationMode(!isPermutationMode) + setIsPermutationsHidden(false) } const handleCaseModeChange = () => {