made navbar position fixed
This commit is contained in:
parent
1b8422bd0f
commit
942957cd9b
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue