Skip to content

Commit 08857aa

Browse files
chore(f-canvas): add class to connections container and style it
1 parent debe02c commit 08857aa

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

projects/f-flow/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@foblex/flow",
3-
"version": "17.9.5",
3+
"version": "17.9.6",
44
"description": "An Angular library designed to simplify the creation and manipulation of dynamic flow. Provides components for flows, nodes, and connections, automating node manipulation and inter-node connections.",
55
"main": "index.js",
66
"types": "index.d.ts",

projects/f-flow/src/f-canvas/f-canvas.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div #fGroupsContainer>
33
<ng-content select="[fGroup], [fGroups]" />
44
</div>
5-
<div #fConnectionsContainer>
5+
<div #fConnectionsContainer class="f-connections-container">
66
<ng-content select="f-snap-connection" />
77
<ng-content select="f-connection, [fConnections]" />
88
<ng-content select="f-connection-for-create" />

projects/f-flow/src/f-canvas/f-canvas.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,8 @@
1313
transform: translateZ(0);
1414
}
1515
}
16+
17+
.f-connections-container {
18+
position: absolute;
19+
z-index: 2;
20+
}

0 commit comments

Comments
 (0)