diff --git a/src/lib/navigator/EventNetwork/Legend.svelte b/src/lib/navigator/EventNetwork/Legend.svelte index 8a9bacd..30a62ea 100644 --- a/src/lib/navigator/EventNetwork/Legend.svelte +++ b/src/lib/navigator/EventNetwork/Legend.svelte @@ -2,8 +2,7 @@ import { CaretDownOutline, CaretUpOutline } from "flowbite-svelte-icons"; import { getEventKindColor, getEventKindName } from '$lib/utils/eventColors'; - // TODO: Move this to settings panel for user control - const TAG_LEGEND_COLUMNS = 4; // Number of columns for tag anchor table + const TAG_LEGEND_COLUMNS = 3; // Number of columns for tag anchor table let { collapsedOnInteraction = false, className = "", @@ -337,8 +336,8 @@ - - {anchor.label} + + {anchor.label.length > 25 ? anchor.label.slice(0, 22) + '...' : anchor.label} {#if !isDisabled} ({anchor.count}) {/if}