Merge pull request #3723 from xyflow/viewport-portal

Added seperate portal to put dom elements inside the flow
This commit is contained in:
Moritz Klack
2023-12-19 13:16:53 +01:00
committed by GitHub
8 changed files with 44 additions and 1 deletions
+8
View File
@@ -291,6 +291,14 @@
top: 0;
}
.xy-flow__viewport-portal {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.xy-flow__minimap {
background: var(--xy-minimap-background-color, var(--xy-minimap-background-color-default));