Skip to content

Commit 1c8c63e

Browse files
committed
🤖 fix: match token count text size to surrounding elements
Changed text-xs (12px) to text-[11px] to match nearby controls.
1 parent 6830b71 commit 1c8c63e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/browser/components/ChatInput/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ export const ChatInput: React.FC<ChatInputProps> = (props) => {
879879
<Suspense
880880
fallback={
881881
<div
882-
className="text-muted flex items-center gap-1 text-xs"
882+
className="text-muted flex items-center gap-1 text-[11px]"
883883
data-component="TokenEstimate"
884884
>
885885
<span>Calculating tokens…</span>
@@ -940,7 +940,7 @@ const TokenCountDisplay: React.FC<{ reader: TokenCountReader }> = ({ reader }) =
940940
return null;
941941
}
942942
return (
943-
<div className="text-muted flex items-center gap-1 text-xs" data-component="TokenEstimate">
943+
<div className="text-muted flex items-center gap-1 text-[11px]" data-component="TokenEstimate">
944944
<span>{tokens.toLocaleString()} tokens</span>
945945
</div>
946946
);

0 commit comments

Comments
 (0)