fixed other components drawing over navbar and added some helpful comment to generator :)

This commit is contained in:
Kim, Jimin 2021-09-29 22:37:19 +09:00
parent 9f6ee2d95c
commit 67de1bb5b0
2 changed files with 6 additions and 0 deletions

View file

@ -434,6 +434,10 @@ function recursiveParse(
} }
} }
/**
* Actual logic starts here
*/
// Delete existing files // Delete existing files
try { try {

View file

@ -13,6 +13,8 @@ import Sidebar from "./Sidebar"
import ThemeToggleButton from "./ThemeToggleButton" import ThemeToggleButton from "./ThemeToggleButton"
const StyledNav = styled.nav` const StyledNav = styled.nav`
/* set z index to arbitrarily high value to prevent other components from drawing over the navbar */
z-index: 9999;
position: fixed; position: fixed;
width: 100%; width: 100%;