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:
Emi Matchu 2020-08-14 18:21:40 -07:00
parent 500068b41b
commit 7a58546700

View file

@ -252,7 +252,7 @@ function ColorModeToggleButton() {
icon={colorMode === "light" ? <MoonIcon /> : <SunIcon />}
onClick={toggleColorMode}
variant="ghost"
position="absolute"
position="fixed"
bottom="3"
right="3"
/>