From c94471a56f73b7da5ba47993c49f3d4a279b8d36 Mon Sep 17 00:00:00 2001 From: hanishkvc Date: Tue, 11 Nov 2025 12:17:01 +0530 Subject: [PATCH] SimpleChatTCRV:UI Cleanup: scrollOnlyIf, Tool HR, Msg Margin Limit scroll to veritical dir and inturn show only when needed Move the Tool Call Edit UI's HR into its div. Add a bottom margin wrt the individual chat messages. --- tools/server/public_simplechat/index.html | 7 ++----- tools/server/public_simplechat/simplechat.css | 4 +++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tools/server/public_simplechat/index.html b/tools/server/public_simplechat/index.html index dd9b12af7c..305b9d3282 100644 --- a/tools/server/public_simplechat/index.html +++ b/tools/server/public_simplechat/index.html @@ -44,23 +44,20 @@

You need to have javascript enabled.

-
-
+
-
- +

-
diff --git a/tools/server/public_simplechat/simplechat.css b/tools/server/public_simplechat/simplechat.css index ca20b75ad1..d72fedba1f 100644 --- a/tools/server/public_simplechat/simplechat.css +++ b/tools/server/public_simplechat/simplechat.css @@ -38,6 +38,8 @@ border-width: thin; border-radius: 2px; display: flex; + margin-bottom: 2vh; + /* box-shadow: 1px 1px 4px lightslategray; */ } .chat-message-role { border-style: dotted; @@ -101,7 +103,7 @@ } #chat-div { - overflow: scroll; + overflow-y: auto; flex-grow: 1; flex-shrink: 1; min-height: 40vh;