fix: reset z-index instead of inherited unset (#1528)
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
		@@ -580,7 +580,7 @@ document.addEventListener("nav", async (e: CustomEventMap["nav"]) => {
 | 
			
		||||
  function hideGlobalGraph() {
 | 
			
		||||
    container?.classList.remove("active")
 | 
			
		||||
    if (sidebar) {
 | 
			
		||||
      sidebar.style.zIndex = "unset"
 | 
			
		||||
      sidebar.style.zIndex = ""
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -178,7 +178,7 @@ document.addEventListener("nav", async (e: CustomEventMap["nav"]) => {
 | 
			
		||||
      searchBar.value = "" // clear the input when we dismiss the search
 | 
			
		||||
    }
 | 
			
		||||
    if (sidebar) {
 | 
			
		||||
      sidebar.style.zIndex = "unset"
 | 
			
		||||
      sidebar.style.zIndex = ""
 | 
			
		||||
    }
 | 
			
		||||
    if (results) {
 | 
			
		||||
      removeAllChildren(results)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user