mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +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')]"
|
||||
cdkDrag
|
||||
cdkDragHandle
|
||||
[cdkDragDisabled]="dragDisabled">
|
||||
[cdkDragDisabled]="dragDisabled"
|
||||
[cdkDragPreviewClass]="'ds-submission-reorder-dragging'">
|
||||
<!-- 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>
|
||||
<ng-container *ngTemplateOutlet="startTemplate?.templateRef; context: groupModel"></ng-container>
|
||||
<ds-dynamic-form-control-container *ngFor="let _model of groupModel.group"
|
||||
|
@@ -47,3 +47,10 @@ ds-admin-sidebar {
|
||||
.ds-full-screen-loader {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.ds-submission-reorder-dragging {
|
||||
.ds-hint,
|
||||
button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user