]> gitweb.hhaalo.de Git - speisekarten-editor.git/commitdiff
change: drop list group for foodcard
authorBastian Dehn <hhaalo@arcor.de>
Sat, 2 Jul 2022 07:55:04 +0000 (09:55 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 2 Jul 2022 07:55:04 +0000 (09:55 +0200)
src/app/foodcard/foodcard.component.html
src/app/subtitle/subtitle.component.html
src/app/title/title.component.html

index 7719ce6e686edad0e9af7da6e5d123b7ed7b8834..09e98d374a58d2e5cbafb794ba4626757f033483 100644 (file)
@@ -1,4 +1,4 @@
-<div class="foodcard">
+<div cdkDropListGroup class="foodcard">
        <div *ngFor="let title of foodcard.Titles; let i = index">
                <app-title [title]="title"></app-title>
                <button class="button"
index db1570054c3ba1179f6b0963f067206a9d675fb6..bd0c46dfcdfcd8257083c839097fd052d6fec6b4 100644 (file)
@@ -1,6 +1,6 @@
 <div cdkDropList
-     [cdkDropListData]="subtitle.Foods"
-     (cdkDropListDropped)="onDrop($event)"
+       [cdkDropListData]="subtitle.Foods"
+       (cdkDropListDropped)="onDrop($event)"
        class="subtitle"
        [class.active]="formSubtitleVisible">
        <h2>{{subtitle.Subtitle}}</h2>
index e510ea815aa5eeefb9bbac51668a403a9bb831f2..4b8c3c839e045b2bc78f80cd70cbada6442994ab 100644 (file)
@@ -1,4 +1,4 @@
-<div cdkDropListGroup class="title" [class.active]="formTitleVisible">
+<div class="title" [class.active]="formTitleVisible">
        <h1>{{title.Title}}</h1>
        <button class="button"
                type="button"