bug fix for light/dark mode toggle
this will keep it always in the corner of the screen, instead of weirdness when the container is not very tall
This commit is contained in:
parent
500068b41b
commit
7a58546700
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ function ColorModeToggleButton() {
|
||||||
icon={colorMode === "light" ? <MoonIcon /> : <SunIcon />}
|
icon={colorMode === "light" ? <MoonIcon /> : <SunIcon />}
|
||||||
onClick={toggleColorMode}
|
onClick={toggleColorMode}
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
position="absolute"
|
position="fixed"
|
||||||
bottom="3"
|
bottom="3"
|
||||||
right="3"
|
right="3"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue