mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Make new chat message text selectable in Obsidian side pane
Resolves #789
This commit is contained in:
parent
7fb7f200b3
commit
7d7d4cf5c3
2 changed files with 2 additions and 1 deletions
|
@ -411,7 +411,7 @@ export class KhojChatView extends KhojPaneView {
|
||||||
attr: {
|
attr: {
|
||||||
class: `khoj-chat-message-text khoj`
|
class: `khoj-chat-message-text khoj`
|
||||||
},
|
},
|
||||||
})
|
}).createDiv();
|
||||||
|
|
||||||
// Scroll to bottom after inserting chat messages
|
// Scroll to bottom after inserting chat messages
|
||||||
this.scrollChatToBottom();
|
this.scrollChatToBottom();
|
||||||
|
|
|
@ -76,6 +76,7 @@ If your plugin does not need CSS, delete this file.
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
user-select: text;
|
||||||
}
|
}
|
||||||
/* color chat bubble by khoj blue */
|
/* color chat bubble by khoj blue */
|
||||||
.khoj-chat-message-text.khoj {
|
.khoj-chat-message-text.khoj {
|
||||||
|
|
Loading…
Reference in a new issue