From cc4583e2cc8ff19bf97c9cbf6cd73e403f1519cd Mon Sep 17 00:00:00 2001 From: Roe-xin Date: Thu, 19 Mar 2026 16:18:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?style:=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E9=AB=98=E4=BA=AE=E7=9A=84margin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/codeHighlight.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/codeHighlight.ts b/src/components/codeHighlight.ts index 3cb8fb6..6ab683a 100644 --- a/src/components/codeHighlight.ts +++ b/src/components/codeHighlight.ts @@ -34,7 +34,7 @@ export function getCodeHighlightStyles(): string { border-radius: 6px; padding: 12px; overflow-x: auto; - margin: 12px 0; + margin: 52px 0 12px 0; position: relative; white-space: pre; } From 24512c61e6500100cd41ed496fee93e45de2a083 Mon Sep 17 00:00:00 2001 From: Roe-xin Date: Fri, 20 Mar 2026 14:05:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?style:=E8=A7=A3=E5=86=B3=E4=B8=8D=E5=90=8C?= =?UTF-8?q?=E4=B8=BB=E9=A2=98=E4=B8=8B=E9=A2=9C=E8=89=B2=E5=8F=98=E5=8C=96?= =?UTF-8?q?=E7=9A=84bug=20-=20AI=E8=AF=A2=E9=97=AE=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/messageStyles.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/messageStyles.ts b/src/views/messageStyles.ts index 19b5e6c..aad9372 100644 --- a/src/views/messageStyles.ts +++ b/src/views/messageStyles.ts @@ -553,7 +553,7 @@ export function getMessageAreaStyles(): string { } .segment-question .question-option { padding: 8px 16px; - background: #3d3f41; + background: var(--vscode-textBlockQuote-background); color: var(--vscode-foreground); border: 1px solid #474747; border-radius: 6px; @@ -563,13 +563,13 @@ export function getMessageAreaStyles(): string { letter-spacing: 0.5px; } .segment-question .question-option:hover { - background: #005a9e; - border-color: #005a9e; + background: var(--vscode-button-hoverBackground); + border-color: var(--vscode-button-hoverBackground); } .segment-question .question-option.selected { - background: #007ACC; - color: #ffffff; - border-color: #007ACC; + background: var(--vscode-button-background); + color: var(--vscode-button-foreground); + border-color: var(--vscode-button-background); } .segment-question.answered .question-option:not(.selected) { opacity: 0.5;