This commit is contained in:
Timothy Jaeryang Baek committed 2026-05-13 22:51:23 +09:00
1 parent 171150c1e1
commit e7d2ddbb1d
1 file changed
+5 -7
@@ -1016,10 +1016,10 @@
{/if} {/if}
</div> </div>
<div class="flex w-full"> <div class="flex w-full items-center">
<input <input
type="text" type="text"
class="text-left text-xs w-full text-gray-500 bg-transparent outline-hidden" class="text-left text-xs w-full text-gray-500 bg-transparent outline-hidden flex-1"
bind:value={knowledge.description} bind:value={knowledge.description}
aria-label={$i18n.t('Knowledge Description')} aria-label={$i18n.t('Knowledge Description')}
placeholder={$i18n.t('Knowledge Description')} placeholder={$i18n.t('Knowledge Description')}
@@ -1028,14 +1028,10 @@
changeDebounceHandler(); changeDebounceHandler();
}} }}
/> />
</div>
</div>
</div>
<div class="flex items-center gap-2 mt-0.5">
<Tooltip content={$i18n.t('Click to copy ID')}> <Tooltip content={$i18n.t('Click to copy ID')}>
<button <button
class="text-xs text-gray-500 font-mono px-2 py-1 rounded-lg cursor-pointer hover:underline transition" class="text-xs text-gray-500 font-mono shrink-0 px-2 py-1 rounded-lg cursor-pointer hover:underline transition whitespace-nowrap"
on:click={() => { on:click={() => {
copyToClipboard(id); copyToClipboard(id);
toast.success($i18n.t('ID copied to clipboard')); toast.success($i18n.t('ID copied to clipboard'));
@@ -1046,6 +1042,8 @@
</Tooltip> </Tooltip>
</div> </div>
</div> </div>
</div>
</div>
<div <div
class="mt-2 mb-2.5 py-2 -mx-0 bg-white dark:bg-gray-900 rounded-3xl border border-gray-100/30 dark:border-gray-850/30 flex-1" class="mt-2 mb-2.5 py-2 -mx-0 bg-white dark:bg-gray-900 rounded-3xl border border-gray-100/30 dark:border-gray-850/30 flex-1"