Skip to content

Commit

Permalink
fix: reset z-index instead of inherited unset (#1528)
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Pham <contact@aarnphm.xyz>
  • Loading branch information
Stephen-X and aarnphm authored Nov 5, 2024
1 parent 56ba2f4 commit 74f8c13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quartz/components/scripts/graph.inline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
}
}

Expand Down
2 changes: 1 addition & 1 deletion quartz/components/scripts/search.inline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 74f8c13

Please sign in to comment.