Enhancement: wrapping of saved view fields d-n-d UI (#7216)

This commit is contained in:
shamoon
2024-07-10 20:14:59 -07:00
committed by GitHub
parent 9af879a2bf
commit 9e2bf4820a
4 changed files with 8 additions and 11 deletions

View File

@@ -348,7 +348,7 @@
@for (view of savedViews; track view) {
<li class="list-group-item py-3">
<div [formGroupName]="view.id" class="row">
<div [formGroupName]="view.id">
<div class="row">
<div class="col">
<pngx-input-text title="Name" formControlName="name"></pngx-input-text>

View File

@@ -13,10 +13,10 @@
}
</div>
</div>
<div class="d-flex flex-row mt-2 align-items-center bg-light p-2">
<div class="d-flex flex-row gap-2 w-100 mh-1" style="min-height: 1em;"
<div class="mt-2 align-items-center bg-light p-2">
<div class="d-flex flex-wrap flex-row gap-2 w-100"
cdkDropList #unselectedList="cdkDropList"
cdkDropListOrientation="horizontal"
cdkDropListOrientation="mixed"
(cdkDropListDropped)="drop($event)"
[cdkDropListConnectedTo]="[selectedList]">
@for (item of unselectedItems; track item.id) {

View File

@@ -1,7 +1,3 @@
.badge {
cursor: move;
}
.d-flex {
overflow-x: scroll;
}