diff --git a/packages/kanban/src/components/Kanban.svelte b/packages/kanban/src/components/Kanban.svelte
index 49ab4e8558..2a40506a48 100644
--- a/packages/kanban/src/components/Kanban.svelte
+++ b/packages/kanban/src/components/Kanban.svelte
@@ -246,11 +246,7 @@
height: 100%;
}
.card-container {
- display: flex;
- flex-direction: column;
- padding: .5rem 1rem;
background-color: var(--board-card-bg-color);
- border: 1px solid var(--board-card-bg-color);
border-radius: .25rem;
user-select: none;
@@ -261,9 +257,7 @@
cursor: grab;
}
&.dragged {
- padding: 1rem;
background-color: var(--board-bg-color);
- border: unset;
}
}
diff --git a/packages/theme/styles/_layouts.scss b/packages/theme/styles/_layouts.scss
index 093a8b95b9..4d96da5c59 100644
--- a/packages/theme/styles/_layouts.scss
+++ b/packages/theme/styles/_layouts.scss
@@ -321,9 +321,16 @@ p:last-child { margin-block-end: 0; }
.mx-3 { margin: 0 .75rem; }
.my-4 { margin: 1rem 0; }
+.pl-2 { padding-left: .5rem; }
+.pl-4 { padding-left: 1rem; }
.pr-1 { padding-right: .25rem; }
+.pr-2 { padding-right: .5rem; }
.pr-4 { padding-right: 1rem; }
.pr-24 { padding-right: 6rem; }
+.pt-2 { padding-top: .5rem; }
+.pt-4 { padding-top: 1rem; }
+.pb-2 { padding-bottom: .5rem; }
+.pb-4 { padding-bottom: 1rem; }
.p-2 { padding: .5rem; }
.p-3 { padding: .75rem; }
diff --git a/plugins/board-resources/src/components/KanbanCard.svelte b/plugins/board-resources/src/components/KanbanCard.svelte
index 53318cafb0..e59efa3376 100644
--- a/plugins/board-resources/src/components/KanbanCard.svelte
+++ b/plugins/board-resources/src/components/KanbanCard.svelte
@@ -35,31 +35,37 @@
}
-
-
-
-
-
+
+
+
+
+
+
+
+
{
+ showMenu(evt)
+ }}
+ icon={IconMoreH}
+ size={'small'}
+ />
+
+
+
+
+ {#if (object.attachments ?? 0) > 0}
+
+ {/if}
+ {#if (object.comments ?? 0) > 0}
+
+
+
+ {/if}
-
{
- showMenu(evt)
- }}
- icon={IconMoreH}
- size={'small'}
- />
-
-
-
-
- {#if (object.attachments ?? 0) > 0}
-
- {/if}
- {#if (object.comments ?? 0) > 0}
-
- {/if}
diff --git a/plugins/lead-resources/src/components/KanbanCard.svelte b/plugins/lead-resources/src/components/KanbanCard.svelte
index d52a403d7c..1e74d3b043 100644
--- a/plugins/lead-resources/src/components/KanbanCard.svelte
+++ b/plugins/lead-resources/src/components/KanbanCard.svelte
@@ -28,43 +28,49 @@
export let object: WithLookup
export let dragged: boolean
- function showMenu(ev?: Event): void {
+ function showMenu (ev?: Event): void {
showPopup(ContextMenu, { object }, (ev as MouseEvent).target as HTMLElement)
}
- function showLead() {
+ function showLead () {
showPanel(view.component.EditDoc, object._id, object._class, 'full')
}
-
-
-
-
-
+
+
+
+
+
+
+
+
{
+ showMenu(evt)
+ }}
+ icon={IconMoreH}
+ size={'small'}
+ />
+
+
+
+ {#if object.$lookup?.attachedTo}
+
+ {/if}
+
+ {#if (object.attachments ?? 0) > 0}
+
+ {/if}
+ {#if (object.comments ?? 0) > 0}
+
+
+
+ {/if}
-
{
- showMenu(evt)
- }}
- icon={IconMoreH}
- size={'small'}
- />
-
-
-
- {#if object.$lookup?.attachedTo}
-
- {/if}
-
- {#if (object.attachments ?? 0) > 0}
-
- {/if}
- {#if (object.comments ?? 0) > 0}
-
- {/if}
diff --git a/plugins/recruit-resources/src/components/KanbanCard.svelte b/plugins/recruit-resources/src/components/KanbanCard.svelte
index 8ec6cb2155..9319644864 100644
--- a/plugins/recruit-resources/src/components/KanbanCard.svelte
+++ b/plugins/recruit-resources/src/components/KanbanCard.svelte
@@ -36,43 +36,47 @@
$: doneTasks = todoItems.filter((it) => it.done)
-
-
-
-
-
- {formatName(object.$lookup?.attachedTo?.name ?? '')}
+
+
+
+
+
+
+ {formatName(object.$lookup?.attachedTo?.name ?? '')}
+
+
{object.$lookup?.attachedTo?.title ?? ''}
-
{object.$lookup?.attachedTo?.title ?? ''}
-
-
-
-
-
-
-
+
+
+
+ {#if (object.attachments ?? 0) > 0}
+
+ {/if}
+ {#if (object.comments ?? 0) > 0}
+
+
+
+ {/if}
+
+
+
diff --git a/plugins/task-resources/src/components/KanbanCard.svelte b/plugins/task-resources/src/components/KanbanCard.svelte
index 49eb181ce2..f4c702ddab 100644
--- a/plugins/task-resources/src/components/KanbanCard.svelte
+++ b/plugins/task-resources/src/components/KanbanCard.svelte
@@ -34,41 +34,45 @@
$: doneTasks = todoItems.filter((it) => it.done)
-
-
-
- {#if todoItems.length > 0}
-
-
- ( {doneTasks?.length}/ {todoItems.length} )
-
-
- {/if}
-
-
-
-
+
+
+
+
+ {#if todoItems.length > 0}
+
+ ( {doneTasks?.length}/ {todoItems.length} )
+
+ {/if}
-
{
- showMenu(evt)
- }}
- icon={IconMoreH}
- size={'small'}
- />
+
+
+
+
+
{
+ showMenu(evt)
+ }}
+ icon={IconMoreH}
+ size={'small'}
+ />
+
+
+
{object.name}
+
+
+
+ {#if (object.attachments ?? 0) > 0}
+
+ {/if}
+ {#if (object.comments ?? 0) > 0}
+
+
+
+ {/if}
+
+
-
{object.name}
-
-
-
- {#if (object.attachments ?? 0) > 0}
-
- {/if}
- {#if (object.comments ?? 0) > 0}
-
- {/if}
-
-
-
diff --git a/plugins/tracker-resources/src/components/issues/Board.svelte b/plugins/tracker-resources/src/components/issues/Board.svelte
index d6e8ad4525..4ac9c310a2 100644
--- a/plugins/tracker-resources/src/components/issues/Board.svelte
+++ b/plugins/tracker-resources/src/components/issues/Board.svelte
@@ -107,7 +107,7 @@
{@const issue = toIssue(object)}
-
+
{#if issue.$lookup?.assignee}