made navbar position fixed

This commit is contained in:
Kim, Jimin 2021-09-29 13:45:03 +09:00
parent 1b8422bd0f
commit 942957cd9b

View file

@ -13,8 +13,9 @@ import Sidebar from "./Sidebar"
import ThemeToggleButton from "./ThemeToggleButton"
const StyledNav = styled.nav`
position: absolute;
position: fixed;
width: 100%;
background-color: ${(props) =>
theming.theme(props.theme.currentTheme, {
light: theming.light.backgroundColor0,