experiment with different dragHandle positions

This commit is contained in:
2023-03-11 15:24:39 +01:00
parent e3945a4d33
commit b56b4c231e
2 changed files with 10 additions and 1 deletions

View File

@@ -32,6 +32,14 @@
.editable:hover .editable-hovered {
visibility: visible;
}
.handle {
height: 1.5em;
}
[cdkDrag]:hover .handle, .cdk-drop-list-dragging .handle {
background-color: #f3f3f3;
border-radius: 3px;
cursor: grab;
}
</style>
<div *ngIf="dashboard === undefined && !error" class="center">
@@ -64,6 +72,7 @@
cdkDrag
*ngFor="let id of column"
[attr.widget-id]="id">
<div cdkDragHandle class="handle"></div>
<app-text-widget
*ngIf="isTextWidget(id)"
[data]="getTextWidget(id)!"></app-text-widget>