Skip to content

Commit 74b1f73

Browse files
authored
fix: HOTFIX thinking block colors (#8810)
fix: thinking block colors
1 parent 2d022db commit 74b1f73

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

gui/src/components/mainInput/belowMainInput/ThinkingBlockPeek.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import styled from "styled-components";
77

88
import { AnimatedEllipsis } from "../../AnimatedEllipsis";
99
import StyledMarkdownPreview from "../../StyledMarkdownPreview";
10+
import { Button } from "../../ui";
1011

1112
const MarkdownWrapper = styled.div`
1213
& > div > *:first-child {
@@ -57,10 +58,10 @@ function ThinkingBlockPeek({
5758
return duplicateRedactedThinkingBlock ? null : (
5859
<div className="thread-message">
5960
<div className="mt-1 flex flex-col px-4">
60-
<div className="flex min-w-0 flex-row items-center justify-between gap-2">
61-
<button
62-
type="button"
63-
className="text-description flex min-w-0 cursor-pointer flex-row items-center gap-1.5 text-xs transition-colors duration-200 ease-in-out hover:brightness-125"
61+
<div>
62+
<Button
63+
variant="outline"
64+
className="text-description flex-0 border-border m-0 mb-2 flex min-w-0 cursor-pointer flex-row items-center gap-1.5 rounded-full border-[0.5px] border-solid px-3 text-xs transition-colors duration-200 ease-in-out hover:brightness-125"
6465
data-testid="thinking-block-peek"
6566
aria-expanded={open}
6667
aria-controls={`thinking-block-content-${index}`}
@@ -83,11 +84,11 @@ function ThinkingBlockPeek({
8384
) : (
8485
<ChevronDownIcon className="h-3 w-3" />
8586
)}
86-
</button>
87+
</Button>
8788
</div>
8889
<div
8990
id={`thinking-block-content-${index}`}
90-
className={`mt-2 overflow-y-auto transition-all duration-300 ease-in-out ${
91+
className={`overflow-y-auto transition-all duration-300 ease-in-out ${
9192
open ? "max-h-[50vh] opacity-100" : "max-h-0 opacity-0"
9293
}`}
9394
>

0 commit comments

Comments
 (0)