[object Object]

← back to Exo

Adjust truncate size in history list for text without any spaces

fb841a1f5062a1677859ca8142102f3e5af8f906 · 2025-01-26 00:38:58 +0300 · sigseg5

Files touched

Diff

commit fb841a1f5062a1677859ca8142102f3e5af8f906
Author: sigseg5 <sigseg5@protonmail.com>
Date:   Sun Jan 26 00:38:58 2025 +0300

    Adjust truncate size in history list for text without any spaces
---
 exo/tinychat/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exo/tinychat/index.html b/exo/tinychat/index.html
index ecc7a973..b7025a34 100644
--- a/exo/tinychat/index.html
+++ b/exo/tinychat/index.html
@@ -193,7 +193,7 @@
             otx = $event.changedTouches[0].clientX;
           " class="history" x-data="{ otx: 0, trigger: 75 }">
 <h3 x-text="new Date(_state.time).toLocaleString()"></h3>
-<p x-text="$truncate(_state.messages[0].content, 80)"></p>
+<p x-text="$truncate(_state.messages[0].content, 76)"></p>
 <!-- delete button -->
 <button @click.stop="removeHistory(_state);" class="history-delete-button">
 <i class="fas fa-trash"></i>

← 45123665 Fix bubble behavior when user passes long text without any s  ·  back to Exo  ·  fix post_init deepseek v3 55ea3669 →