mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-08 17:06:42 +00:00
small fix
This commit is contained in:
@@ -383,6 +383,10 @@ body:not(.loading) #loading {
|
|||||||
background: #1b1d2a;
|
background: #1b1d2a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tool .result pre.l-json .pre-header {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.message .tool .result,
|
.message .tool .result,
|
||||||
.message .reasoning-text {
|
.message .reasoning-text {
|
||||||
background: #1e2030;
|
background: #1e2030;
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
code(code) {
|
code(code) {
|
||||||
const header = `<div class="pre-header">${escapeHtml(code.lang)}<button class="pre-copy" title="Copy code contents"></button></div>`;
|
const header = `<div class="pre-header">${escapeHtml(code.lang)}<button class="pre-copy" title="Copy code contents"></button></div>`;
|
||||||
|
|
||||||
return `<pre>${header}<code>${code.text}</code></pre>`;
|
return `<pre class="l-${escapeHtml(code.lang)}">${header}<code>${code.text}</code></pre>`;
|
||||||
},
|
},
|
||||||
|
|
||||||
link(link) {
|
link(link) {
|
||||||
|
Reference in New Issue
Block a user