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",