Skip to content

Commit 6061bed

Browse files
committed
refactor: Remove reasoning message styling to streamline dark mode implementation
1 parent 78c145d commit 6061bed

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

client/src/components/chat/HeadlessChat.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,6 @@ function SapChatInner() {
4949
assistantMessage: {
5050
toolCallsView: "cpk-tool-calls-dark",
5151
},
52-
reasoningMessage: {
53-
className: "cpk-reasoning-expanded",
54-
},
5552
}}
5653
labels={{
5754
modalHeaderTitle: "SAP Assistant",

client/src/index.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,6 @@ html, body, #root {
2929

3030
/* ── CopilotKit dark-mode overrides for hardcoded Tailwind whites ── */
3131

32-
/* Reasoning / thinking section — expanded by default, VS Code style */
33-
.cpk-reasoning-expanded [data-state="closed"] {
34-
display: block !important;
35-
}
36-
.cpk-reasoning-expanded [data-state="closed"] > [class*="content"],
37-
.cpk-reasoning-expanded [data-state="closed"] + div {
38-
display: block !important;
39-
max-height: none !important;
40-
opacity: 1 !important;
41-
}
42-
4332
/* Tool-call cards — override bg-white from CopilotKit defaults */
4433
.dark [data-copilotkit] [data-variant] {
4534
background-color: var(--card) !important;

0 commit comments

Comments
 (0)