]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Change: make workflow action only title draggable (#11209)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Tue, 28 Oct 2025 17:14:42 +0000 (10:14 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Oct 2025 17:14:42 +0000 (10:14 -0700)
src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.html
src-ui/src/app/components/common/edit-dialog/workflow-edit-dialog/workflow-edit-dialog.component.scss

index 61daa1fa2a9970e816f1333aef953e125d1d36c4..fab644baa606ae529d4916037d587d506502f4c9 100644 (file)
               </div>
               <div ngbAccordion [closeOthers]="true" cdkDropList (cdkDropListDropped)="onActionDrop($event)">
                 @for (action of object?.actions; track action; let i = $index){
-                  <div ngbAccordionItem cdkDrag [formGroup]="actionFields.controls[i]">
-                    <div ngbAccordionHeader>
-                      <button ngbAccordionButton>{{i + 1}}. {{getActionTypeOptionName(actionFields.controls[i].value.type)}}
+                  <div ngbAccordionItem [formGroup]="actionFields.controls[i]">
+                    <div ngbAccordionHeader cdkDrag>
+                      <button ngbAccordionButton>
+                        <i-bs name="grip-vertical" class="ms-n3 pe-1"></i-bs>
+                        {{i + 1}}. {{getActionTypeOptionName(actionFields.controls[i].value.type)}}
                         @if(action.id) {
                           <span class="badge bg-primary text-primary-text-contrast ms-2">ID: {{action.id}}</span>
                         }
index d026a5b2bf3791065acc21436f9228b9a21c6542..56aea809f59025ebf705ff31f257f7c3a855e5fa 100644 (file)
@@ -11,3 +11,7 @@
 :host ::ng-deep .filters .paperless-input-select.mb-3 {
     margin-bottom: 0 !important;
 }
+
+.ms-n3 {
+    margin-left: -1rem !important;
+}