diff --git a/src/lib/scss/custom/pages/_chat.scss b/src/lib/scss/custom/pages/_chat.scss index 8d6fa249..43976cf0 100644 --- a/src/lib/scss/custom/pages/_chat.scss +++ b/src/lib/scss/custom/pages/_chat.scss @@ -794,7 +794,7 @@ flex-wrap: wrap; overflow-y: auto; scrollbar-width: none; - min-height: 100px; + min-height: 80px; max-height: 180px; .conv-tag-unit { diff --git a/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte b/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte index cfc6ce07..192553b2 100644 --- a/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte +++ b/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte @@ -1476,36 +1476,35 @@ openLogs()}>View Log {/if} {#if !isLite && (!isLoadInstantLog || !isOpenUserAddStateModal)} -
  • - - - States - - - {#if !isOpenUserAddStateModal} - toggleUserAddStateModal()} - > - Add States - - {/if} - clearUserAddStates()} - > - Clear States - - - -
  • +
  • + + + States + + + {#if !isOpenUserAddStateModal} + toggleUserAddStateModal()} + > + Add States + + {/if} + clearUserAddStates()} + > + Clear States + + + +
  • + {/if} + {#if currentUser?.role === UserRole.Admin} + toggleTagModal()}> + Add Tags + {/if} - toggleTagModal()} - > - Add Tags - {#if agent?.id === LERNER_ID && mode === TRAINING_MODE} handleSaveKnowledge()}>Save Knowledge {/if} @@ -1539,7 +1538,7 @@ on:click={() => endChat()} > {#if !isLite} - End + Exit {/if}