Skip to content

Commit 0add76c

Browse files
committed
fix copy button and text area overflow
1 parent e55c960 commit 0add76c

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "bks-ai-shell",
33
"name": "AI Shell",
4-
"version": "1.1.6",
4+
"version": "1.1.7",
55
"minAppVersion": "5",
66
"description": "Ask AI to analyze your database and generate SQL queries.",
77
"author": {

src/assets/styles/pages/_chat-interface.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@
331331
font-size: 0.9rem;
332332
max-height: 30vh;
333333
line-height: 1.25rem;
334+
border-radius: 8px;
334335
}
335336

336337
.actions {

src/components/messages/Markdown.vue

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,7 @@ export default {
5252
5353
switch (action) {
5454
case "copy": {
55-
if (navigator.clipboard) {
56-
// FIXME remove this
57-
navigator.clipboard.writeText(text);
58-
} else {
59-
clipboard.writeText(text);
60-
}
55+
clipboard.writeText(text);
6156
target.classList.add("copied");
6257
if (this.copyTimeout) {
6358
clearTimeout(this.copyTimeout);

0 commit comments

Comments
 (0)