fix: the expand button's z-index is the same as Header (#1400)

fix: the expand button's z-index is higher than Header
This commit is contained in:
Steven Yan
2023-03-22 22:17:01 +08:00
committed by GitHub
parent 2ba54c9168
commit 9c0a3ff83c

View File

@@ -32,7 +32,7 @@ const Header = () => {
return (
<div
className={`fixed sm:sticky top-0 left-0 w-full sm:w-56 h-full flex-shrink-0 pointer-events-none sm:pointer-events-auto z-10 ${
className={`fixed sm:sticky top-0 left-0 w-full sm:w-56 h-full flex-shrink-0 pointer-events-none sm:pointer-events-auto z-20 ${
showHeader && "pointer-events-auto"
}`}
>