From a14e83f2d820a7a6bc19ace79688b16621b57c68 Mon Sep 17 00:00:00 2001 From: isark Date: Fri, 17 Nov 2023 20:10:48 +0100 Subject: [PATCH] Editor upgrades, less custom css. More bootstrappy --- src/app/editor/editor.component.html | 137 ++++++++++++++------------- src/app/editor/editor.component.scss | 10 -- 2 files changed, 69 insertions(+), 78 deletions(-) diff --git a/src/app/editor/editor.component.html b/src/app/editor/editor.component.html index 27737ab..3b567e9 100644 --- a/src/app/editor/editor.component.html +++ b/src/app/editor/editor.component.html @@ -1,82 +1,83 @@ -
- - - -
- -
+
+
+ + + +
-
- -
+
+
+
+ + Area filter + + + + Act filter + + {{item.name}} + + +
-
- - Area filter - - - - Act filter - - {{item.name}} - - - +
+ Auto scroll to end on add to + endReverse + display + -

Campaign zones

-
-
-
{{item.name}}
-
Act {{item.act}}
+ + Area filter + + + + Act filter + + {{item.name}} + +
+
- -
+
-
-
- Auto scroll to end on add to - endReverse - display - - - Area filter - - - - Act filter - - {{item.name}} - - - -
+
+

Campaign zones

+
+
+
{{item.name}}
+
Act {{item.act}}
+
+
+
-

Plan

-
-
-
-
{{areasMap?.get(item.area_key)?.name}}
-
Act {{areasMap?.get(item.area_key)?.act}}
+
+

Plan

+
+
+
+
{{areasMap?.get(item.area_key)?.name}}
+
Act {{areasMap?.get(item.area_key)?.act}}
+
+
(Note)
+
#{{planIndexOf(item)}}
+
+
+
+
+
+ Place at end of list
-
(Note)
-
#{{planIndexOf(item)}}
-
+
-
- Place at end of list -
+ + +
\ No newline at end of file diff --git a/src/app/editor/editor.component.scss b/src/app/editor/editor.component.scss index 0b2d620..30d405f 100644 --- a/src/app/editor/editor.component.scss +++ b/src/app/editor/editor.component.scss @@ -106,16 +106,6 @@ .list.cdk-drop-list-dragging .box:not(.cdk-drag-placeholder) { transition: transform 125ms cubic-bezier(0, 0, 0.2, 1); } - -.editor-container { - display: flex; - flex-direction: row; - box-sizing: border-box; - height: 100%; - overflow: hidden; - justify-content: center; -} - .right-settings { gap: 8px; } \ No newline at end of file