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" import ThemeToggleButton from "./ThemeToggleButton"
const StyledNav = styled.nav` const StyledNav = styled.nav`
position: absolute; position: fixed;
width: 100%; width: 100%;
background-color: ${(props) => background-color: ${(props) =>
theming.theme(props.theme.currentTheme, { theming.theme(props.theme.currentTheme, {
light: theming.light.backgroundColor0, light: theming.light.backgroundColor0,