Revert white-space preline and add more detailed help text when selecting file

This commit is contained in:
sabaimran
2024-03-06 16:47:27 +05:30
parent b615c0719e
commit 7357b6eff1

View File

@@ -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 {