From 7357b6eff15044c3da026b0dcd210d8c96491ddf Mon Sep 17 00:00:00 2001 From: sabaimran Date: Wed, 6 Mar 2024 16:47:27 +0530 Subject: [PATCH] Revert white-space preline and add more detailed help text when selecting file --- src/khoj/interface/web/chat.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/khoj/interface/web/chat.html b/src/khoj/interface/web/chat.html index 13e6da2c..accc83a5 100644 --- a/src/khoj/interface/web/chat.html +++ b/src/khoj/interface/web/chat.html @@ -593,7 +593,7 @@ To get started, just start typing below. You can also type / to see a list of co if (overlayText == null) { dropzone.classList.add('dragover'); var overlayText = document.createElement("div"); - overlayText.innerHTML = "Select a file to share it with Khoj"; + overlayText.innerHTML = "Select a file or drag + drop it here to share it with Khoj"; overlayText.className = "dropzone-overlay"; overlayText.id = "dropzone-overlay"; dropzone.appendChild(overlayText); @@ -1550,7 +1550,7 @@ To get started, just start typing below. You can also type / to see a list of co display: inline-block; max-width: 80%; text-align: left; - /* white-space: pre-line; */ + white-space: pre-line; } /* color chat bubble by khoj blue */ .chat-message-text.khoj {