fixed other components drawing over navbar and added some helpful comment to generator :)
This commit is contained in:
parent
9f6ee2d95c
commit
67de1bb5b0
2 changed files with 6 additions and 0 deletions
|
@ -434,6 +434,10 @@ function recursiveParse(
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Actual logic starts here
|
||||
*/
|
||||
|
||||
// Delete existing files
|
||||
|
||||
try {
|
||||
|
|
|
@ -13,6 +13,8 @@ import Sidebar from "./Sidebar"
|
|||
import ThemeToggleButton from "./ThemeToggleButton"
|
||||
|
||||
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;
|
||||
width: 100%;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue