diff --git a/src/components/Badge.svelte b/src/components/Badge.svelte index 83f078da6..d6a09bdcd 100644 --- a/src/components/Badge.svelte +++ b/src/components/Badge.svelte @@ -29,8 +29,6 @@ white-space: nowrap; align-items: center; gap: 0.25rem; - /* This is aprox. a DID assignee */ - max-width: 16rem; } .background { color: currentColor; diff --git a/src/views/projects/Cob/AssigneeInput.svelte b/src/views/projects/Cob/AssigneeInput.svelte index 367b27b12..bf72a789d 100644 --- a/src/views/projects/Cob/AssigneeInput.svelte +++ b/src/views/projects/Cob/AssigneeInput.svelte @@ -97,7 +97,12 @@ position: relative; margin-top: 0.5rem; } - + .input { + width: 100%; + display: flex; + align-items: center; + gap: 0.5rem; + } @media (max-width: 1349.98px) { .wrapper { display: flex; @@ -111,11 +116,17 @@ display: flex; align-items: center; } + .body { + align-items: flex-start; + } .no-assignees { height: 2rem; display: flex; align-items: center; } + .input { + width: 18rem; + } } @@ -127,12 +138,12 @@ (removeToggles[assignee.id] = !removeToggles[assignee.id])}>
- {formatNodeId(assignee.id)} + {formatNodeId(assignee.id)} {#if removeToggles[assignee.id]} {/each} {#if showInput} -
- - { - inputValue = ""; - validationMessage = undefined; - showInput = false; - }}> - - - - - -
- {#if validationMessage} -
- {validationMessage} +
+
+ + { + inputValue = ""; + validationMessage = undefined; + showInput = false; + }}> + + + + +
- {/if} + {#if validationMessage} +
+ {validationMessage} +
+ {/if} +
{:else}
Attachments
{#each embeds as embed} - + {embed.name} {:else} -
No attachments
+
No attachments
{/each}
diff --git a/src/views/projects/Cob/LabelInput.svelte b/src/views/projects/Cob/LabelInput.svelte index 1c141f87b..ae611736b 100644 --- a/src/views/projects/Cob/LabelInput.svelte +++ b/src/views/projects/Cob/LabelInput.svelte @@ -77,6 +77,12 @@ position: relative; margin-top: 0.5rem; } + .input { + width: 100%; + display: flex; + align-items: center; + gap: 0.5rem; + } @media (max-width: 1349.98px) { .wrapper { display: flex; @@ -90,11 +96,17 @@ display: flex; align-items: center; } + .body { + align-items: flex-start; + } .no-labels { height: 2rem; display: flex; align-items: center; } + .input { + width: 18rem; + } } @@ -106,9 +118,9 @@ (removeToggles[label] = !removeToggles[label])}> -
{label}
+
{label}
{#if removeToggles[label]} removeLabel(label)} /> @@ -117,32 +129,33 @@
{/each} {#if showInput} -
- - { - inputValue = ""; - showInput = false; - }}> - - - - - -
- {#if !valid && validationMessage} -
- {validationMessage} +
+
+ + { + inputValue = ""; + showInput = false; + }}> + + + + +
- {/if} + {#if !valid && validationMessage} +
+ {validationMessage} +
+ {/if} +
{:else}
void saveLabels(newLabels)} /> -
- -
+