mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
[CST-3620] Remove drag and drop placeholder
This commit is contained in:
@@ -12,14 +12,9 @@
|
|||||||
[ngClass]="[getClass('element', 'group'), getClass('grid', 'group')]"
|
[ngClass]="[getClass('element', 'group'), getClass('grid', 'group')]"
|
||||||
cdkDrag
|
cdkDrag
|
||||||
cdkDragHandle
|
cdkDragHandle
|
||||||
[cdkDragDisabled]="dragDisabled">
|
[cdkDragDisabled]="dragDisabled"
|
||||||
|
[cdkDragPreviewClass]="'ds-submission-reorder-dragging'">
|
||||||
<!-- Item content -->
|
<!-- Item content -->
|
||||||
<div *cdkDragPreview>
|
|
||||||
<div class="alert alert-info">
|
|
||||||
<i class="fas fa-sort"></i> {{ 'form.repeatable.sort.tip' | translate }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<i class="drag-icon fas fa-grip-vertical fa-fw" [class.invisible]="dragDisabled"></i>
|
<i class="drag-icon fas fa-grip-vertical fa-fw" [class.invisible]="dragDisabled"></i>
|
||||||
<ng-container *ngTemplateOutlet="startTemplate?.templateRef; context: groupModel"></ng-container>
|
<ng-container *ngTemplateOutlet="startTemplate?.templateRef; context: groupModel"></ng-container>
|
||||||
<ds-dynamic-form-control-container *ngFor="let _model of groupModel.group"
|
<ds-dynamic-form-control-container *ngFor="let _model of groupModel.group"
|
||||||
|
@@ -47,3 +47,10 @@ ds-admin-sidebar {
|
|||||||
.ds-full-screen-loader {
|
.ds-full-screen-loader {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ds-submission-reorder-dragging {
|
||||||
|
.ds-hint,
|
||||||
|
button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user