Skip to content

Commit

Permalink
refactor: refactoring after review
Browse files Browse the repository at this point in the history
  • Loading branch information
a1rat91 committed Nov 14, 2024
1 parent d5b132a commit fe01dff
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,18 @@
aspect-ratio: 1 / 1;

.main-path {
z-index: 0;
fill: none;
stroke-width: var(--df-connection-stroke-width);
stroke: var(--df-connection-color);
pointer-events: none;
transform: translateZ(0);

&:hover {
stroke: var(--df-connection-color-hover);
cursor: pointer;
}

&.df-selected {
stroke: var(--df-connection-color-active);
}
}

.selectable-area {
z-index: 0;
fill: none;
stroke-width: var(--df-connection-selectable-area-stroke-width);
stroke: transparent;
Expand All @@ -35,6 +28,10 @@

&:hover {
stroke: var(--df-connection-selectable-area-color);

& + .main-path {
stroke: var(--df-connection-color-hover);
}
}
}
}

0 comments on commit fe01dff

Please sign in to comment.