diff --git a/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/actions/list/cds-action-intent/cds-action-intent.component.scss b/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/actions/list/cds-action-intent/cds-action-intent.component.scss index a0962259..8f9d5910 100644 --- a/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/actions/list/cds-action-intent/cds-action-intent.component.scss +++ b/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/actions/list/cds-action-intent/cds-action-intent.component.scss @@ -30,8 +30,8 @@ padding: 0px; min-height: 20px; .connector { - right: -22px; - top: calc(50% - 10px); + right: -24px; + top: calc(50% - 18px); } } &.isStart{ diff --git a/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/cds-canvas.component.ts b/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/cds-canvas.component.ts index eb73d4c5..7ec50431 100644 --- a/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/cds-canvas.component.ts +++ b/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/cds-canvas.component.ts @@ -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; diff --git a/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/cds-intent/cds-intent.component.scss b/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/cds-intent/cds-intent.component.scss index b9573512..eb628ba4 100644 --- a/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/cds-intent/cds-intent.component.scss +++ b/src/app/chatbot-design-studio/cds-dashboard/cds-canvas/cds-intent/cds-intent.component.scss @@ -301,7 +301,7 @@ .footer-intent { cursor: pointer; margin-bottom: -10px; - min-height: 30px; + min-height: 18px; } .last-action-intent { diff --git a/src/styles.scss b/src/styles.scss index 7ca80b8d..87477eec 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -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; @@ -22,6 +30,7 @@ width: 10px; height: 10px; } + .connector .point-connector-empty::before { border: 0px; }