From 18c1df93d15a8232a2243bd566a8e095591944f7 Mon Sep 17 00:00:00 2001 From: vkuchenik Date: Tue, 15 Sep 2026 08:30:53 -0700 Subject: [PATCH] fixed disappearing color mode button on re-opening of sidebar --- client/src/theme.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/src/theme.js b/client/src/theme.js index 63eba44..fc18790 100644 --- a/client/src/theme.js +++ b/client/src/theme.js @@ -228,6 +228,9 @@ const sidebarRecipe = defineSlotRecipe({ button_text: {ml: 3, opacity: 1, visibility: "visible"}, logo_text: {ml: 3, opacity: 1, visibility: "visible", transition: "opacity 0.5s ease, visibility 0.5s ease, margin 0.5s ease"}, color_mode_button: { + "& button": { + position: "static", + }, // the css below makes sure the icon doesn't jump out of the bounds of the sidebar while it's transitioning from closed to open whiteSpace: "nowrap", overflow: "hidden",