mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 21:29:13 +00:00
Revert white-space preline and add more detailed help text when selecting file
This commit is contained in:
@@ -593,7 +593,7 @@ To get started, just start typing below. You can also type / to see a list of co
|
|||||||
if (overlayText == null) {
|
if (overlayText == null) {
|
||||||
dropzone.classList.add('dragover');
|
dropzone.classList.add('dragover');
|
||||||
var overlayText = document.createElement("div");
|
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.className = "dropzone-overlay";
|
||||||
overlayText.id = "dropzone-overlay";
|
overlayText.id = "dropzone-overlay";
|
||||||
dropzone.appendChild(overlayText);
|
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;
|
display: inline-block;
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
/* white-space: pre-line; */
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
/* color chat bubble by khoj blue */
|
/* color chat bubble by khoj blue */
|
||||||
.chat-message-text.khoj {
|
.chat-message-text.khoj {
|
||||||
|
|||||||
Reference in New Issue
Block a user