minor collection ui adjustments

This commit is contained in:
Gani Georgiev
2023-03-19 08:17:36 +02:00
parent 361cfb56b7
commit 82abd7e0b0
34 changed files with 89 additions and 77 deletions
@@ -32,7 +32,7 @@
{@const parsed = CommonHelper.parseIndex(rawIndex)}
<button
type="button"
class="label link-primary {$errors.indexes?.[i]?.message ? 'label-danger' : 'label-info'}"
class="label link-primary {$errors.indexes?.[i]?.message ? 'label-danger' : ''}"
use:tooltip={$errors.indexes?.[i]?.message || ""}
on:click={() => upsertPanel?.show(rawIndex, i)}
>
@@ -44,7 +44,11 @@
</span>
</button>
{/each}
<button type="button" class="label label-primary link-fade" on:click={() => upsertPanel?.show()}>
<button
type="button"
class="btn btn-xs btn-transparent btn-pill btn-outline"
on:click={() => upsertPanel?.show()}
>
<span class="txt">+</span>
<span class="txt">New index</span>
</button>