mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-06 13:22:12 +00:00
Make new chat message text selectable in Obsidian side pane
Resolves #789
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user