Merge branch 'fix/imports-and-references' of github.com:khoj-ai/khoj into fix/imports-and-references

This commit is contained in:
sabaimran
2023-11-10 22:38:34 -08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -577,7 +577,7 @@
cursor: pointer; cursor: pointer;
transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out;
text-align: left; text-align: left;
max-height: 50px; max-height: 75px;
transition: max-height 0.3s ease-in-out; transition: max-height 0.3s ease-in-out;
overflow: hidden; overflow: hidden;
} }

View File

@@ -43,7 +43,7 @@ To get started, just start typing below. You can also type / to see a list of co
let escaped_ref = reference.replaceAll('"', '"'); let escaped_ref = reference.replaceAll('"', '"');
// Generate HTML for Chat Reference // Generate HTML for Chat Reference
let short_ref = escaped_ref.slice(0, 100); let short_ref = escaped_ref.slice(0, 140);
short_ref = short_ref.length < escaped_ref.length ? short_ref + "..." : short_ref; short_ref = short_ref.length < escaped_ref.length ? short_ref + "..." : short_ref;
let referenceButton = document.createElement('button'); let referenceButton = document.createElement('button');
referenceButton.innerHTML = short_ref; referenceButton.innerHTML = short_ref;
@@ -447,7 +447,7 @@ To get started, just start typing below. You can also type / to see a list of co
cursor: pointer; cursor: pointer;
transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out;
text-align: left; text-align: left;
max-height: 50px; max-height: 75px;
transition: max-height 0.3s ease-in-out; transition: max-height 0.3s ease-in-out;
overflow: hidden; overflow: hidden;
} }