Skip to content

Commit

Permalink
fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
dariodepa75 committed Nov 9, 2023
1 parent c39d203 commit 6942196
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
padding: 0px;
min-height: 20px;
.connector {
right: -22px;
top: calc(50% - 10px);
right: -24px;
top: calc(50% - 18px);
}
}
&.isStart{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +430,8 @@ export class CdsCanvasComponent implements OnInit {
// console.log("[CDS-CANVAS] connector-selected:", e, e.detail.mouse_pos);
this.IS_OPEN_PANEL_CONNECTOR_MENU = true;
this.mousePosition = e.detail.mouse_pos;
this.mousePosition.x -= 15;
this.mousePosition.y -= 15;
this.mousePosition.x -= -10;
this.mousePosition.y -= 25;
this.connectorSelected = e.detail.connector;
// this.IS_OPEN_ADD_ACTIONS_MENU = true;
// this.positionFloatMenu = e.detail.mouse_pos;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
.footer-intent {
cursor: pointer;
margin-bottom: -10px;
min-height: 30px;
min-height: 18px;
}

.last-action-intent {
Expand Down
13 changes: 11 additions & 2 deletions src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@

.isLast{
.connector {
right: -22px;
top: calc(50% - 10px);
right: -24px;
top: calc(50% - 18px);
&:hover{
cursor: default;
.point-connector-empty {
background: #506493;
border: 0px;
cursor: copy;
}
}
}
.connector .point-connector {
// background: #e4e4e7;
Expand All @@ -22,6 +30,7 @@
width: 10px;
height: 10px;
}

.connector .point-connector-empty::before {
border: 0px;
}
Expand Down

0 comments on commit 6942196

Please sign in to comment.