fixed disappearing color mode button on re-opening of sidebar

This commit is contained in:
2026-09-15 08:30:53 -07:00
parent 243bb13537
commit 18c1df93d1
+3
View File
@@ -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",