File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
src/app/shared/form/builder/ds-dynamic-form-ui/models/array-group Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1515 [cdkDragDisabled] ="dragDisabled "
1616 [cdkDragPreviewClass] ="'ds-submission-reorder-dragging' ">
1717 <!-- Item content -->
18- < div class ="drag-handle " [class.invisible ] ="dragDisabled " tabindex ="0 ">
19- < i class ="drag-icon fas fa-grip-vertical fa-fw " > </ i >
18+ < div class ="drag-handle " [class.drag-disable ] ="dragDisabled " tabindex ="0 ">
19+ < i class ="drag-icon fas fa-grip-vertical fa-fw " [class.drag-disable] =" dragDisabled " > </ i >
2020 </ div >
2121 < ng-container *ngTemplateOutlet ="startTemplate?.templateRef; context: groupModel "> </ ng-container >
2222 < ds-dynamic-form-control-container *ngFor ="let _model of groupModel.group "
Original file line number Diff line number Diff line change 33:host {
44 display : block ;
55}
6-
6+ .drag-disable {
7+ visibility : hidden !important ;
8+ & :hover , & :focus {
9+ cursor : grab ;
10+ .drag-icon {
11+ visibility : hidden !important ;
12+ }
13+ }
14+ }
715.cdk-drag {
816 margin-left : calc (-2.3 * var (--bs-spacer ));
917 margin-right : calc (-0.5 * var (--bs-spacer ));
You can’t perform that action at this time.
0 commit comments