Skip to content

Commit

Permalink
Revert white-space preline and add more detailed help text when selec…
Browse files Browse the repository at this point in the history
…ting file
  • Loading branch information
sabaimran committed Mar 6, 2024
1 parent b615c07 commit 7357b6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/khoj/interface/web/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@
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);
Expand Down Expand Up @@ -1550,7 +1550,7 @@
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 {
Expand Down

0 comments on commit 7357b6e

Please sign in to comment.