Skip to content

Commit

Permalink
bug-fixed: buttons connector not aligned with button-container while …
Browse files Browse the repository at this point in the history
…dragging
  • Loading branch information
Gabriele Panico committed Nov 8, 2023
1 parent 3279e79 commit d9fd919
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
</div>
</div>
<div class="buttons-response button-replies" cdkDropListOrientation="vertical" cdkDropList (cdkDropListDropped)="dropButtons($event)">
<div *ngFor="let button of galleryEl.buttons; let j= index;" cdkDragBoundary=".button-replies" style="position: relative;">
<div *ngFor="let button of galleryEl.buttons; let j= index;" class="cds-reply-button-element" cdkDragBoundary=".button-replies">

<!-- DRAG PLACEHOLDER -->
<!-- <cds-action-reply-button class="custom-placeholder" *cdkDragPlaceholder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@

<div class="buttons-response button-replies" [class.previewMode]="previewMode" cdkDropListOrientation="vertical" cdkDropList (cdkDropListDropped)="dropButtons($event)" >

<div *ngFor="let button of buttons; let i = index;" cdkDragBoundary=".button-replies" cdkDrag style="position: relative;">
<div *ngFor="let button of buttons; let i = index;" class="cds-reply-button-element" cdkDragBoundary=".button-replies" cdkDrag>

<!-- DRAG PLACEHOLDER -->
<cds-action-reply-button class="custom-placeholder" *cdkDragPlaceholder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

<div class="buttons-response button-replies" [class.previewMode]="previewMode" cdkDropListOrientation="vertical" cdkDropList (cdkDropListDropped)="dropButtons($event)" >

<div *ngFor="let button of buttons; let i = index;" cdkDragBoundary=".button-replies" cdkDrag style="position: relative;">
<div *ngFor="let button of buttons; let i = index;" class="cds-reply-button-element" cdkDragBoundary=".button-replies" cdkDrag >

<!-- DRAG PLACEHOLDER -->
<cds-action-reply-button class="custom-placeholder" *cdkDragPlaceholder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h5 style="color:#D06079;"> {{'AnErroOccurredWhileActivatingTheBot' | translate
class="btn btn-primary cds-blue-button" (click)="hookBotToDept()">
<i *ngIf="HAS_CLICKED_HOOK_BOOT_TO_DEPT === true && HAS_COMPLETED_HOOK_BOOT_TO_DEPT === false"
class="fa fa-spinner fa-spin"></i>
<span> {{ 'ActivateFor' | translate}}</span>
<span> {{ 'ActivateBot' | translate}}</span>
<!-- <b>{{deptSelected.name}}</b> -->
</button>

Expand Down
4 changes: 4 additions & 0 deletions src/assets/sass/cds/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -421,3 +421,7 @@ img.hover-icon{
color: #dcdcdc;
cursor: grab;
}

.cds-reply-button-element{
position: relative;
}

0 comments on commit d9fd919

Please sign in to comment.