fixed disappearing color mode button on re-opening of sidebar
This commit is contained in:
@@ -228,6 +228,9 @@ const sidebarRecipe = defineSlotRecipe({
|
|||||||
button_text: {ml: 3, opacity: 1, visibility: "visible"},
|
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"},
|
logo_text: {ml: 3, opacity: 1, visibility: "visible", transition: "opacity 0.5s ease, visibility 0.5s ease, margin 0.5s ease"},
|
||||||
color_mode_button: {
|
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
|
// 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",
|
whiteSpace: "nowrap",
|
||||||
overflow: "hidden",
|
overflow: "hidden",
|
||||||
|
|||||||
Reference in New Issue
Block a user