Skip to content

Commit

Permalink
Merge branch 'develop' into feature/localVC/support-multiple-SSH-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonEntholzer authored Nov 26, 2024
2 parents 1a5074e + 17eb6ce commit 8408ab7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
<!-- chat box -->
<div class="chat-widget">
<jhi-iris-base-chatbot [fullSize]="fullSize" [showCloseButton]="true" (fullSizeToggle)="toggleFullSize()" (closeClicked)="closeChat()" />
<div class="chat-widget-top-resize-area"></div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
flex-direction: column;
}

.chat-widget-top-resize-area {
position: absolute;
height: 5px;
width: 100%;
z-index: 10;
}

.ng-draggable {
cursor: grab;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class IrisChatbotWidgetComponent implements OnDestroy, AfterViewInit {
interact('.chat-widget')
.resizable({
// resize from all edges and corners
edges: { left: true, right: true, bottom: true, top: true },
edges: { left: true, right: true, bottom: true, top: '.chat-widget-top-resize-area' },

listeners: {
move: (event) => {
Expand Down Expand Up @@ -85,6 +85,7 @@ export class IrisChatbotWidgetComponent implements OnDestroy, AfterViewInit {
inertia: true,
})
.draggable({
allowFrom: '.chat-header',
listeners: {
move: (event: any) => {
const target = event.target,
Expand Down

0 comments on commit 8408ab7

Please sign in to comment.