Fix z-index layering for GraphViewer UI panels

This commit is contained in:
yangdx 2025-10-29 02:09:13 +08:00
parent da2e9efd11
commit 54c48dce38

View file

@ -226,13 +226,13 @@ const GraphViewer = () => {
</div>
{showPropertyPanel && (
<div className="absolute top-2 right-2">
<div className="absolute top-2 right-2 z-10">
<PropertiesView />
</div>
)}
{showLegend && (
<div className="absolute bottom-10 right-2">
<div className="absolute bottom-10 right-2 z-0">
<Legend className="bg-background/60 backdrop-blur-lg" />
</div>
)}