fix(web): address Copilot review on ToolCall labels and copy button
Widen the tool-call section label column for text-xs + text-display, and restore normal-case on the terminal copy button so it stays sentence case. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -186,7 +186,7 @@ function Section({
|
||||
return (
|
||||
<div className="flex gap-3">
|
||||
<span
|
||||
className={`text-display tracking-wider text-xs shrink-0 w-14 pt-0.5 ${
|
||||
className={`text-display tracking-wider text-xs shrink-0 w-20 pt-0.5 ${
|
||||
tone === "error" ? "text-destructive" : "text-text-tertiary"
|
||||
}`}
|
||||
>
|
||||
|
||||
@@ -820,6 +820,7 @@ export default function ChatPage({ isActive = true }: { isActive?: boolean }) {
|
||||
aria-label="Copy last assistant response"
|
||||
className={cn(
|
||||
"absolute z-10",
|
||||
"normal-case tracking-normal font-normal",
|
||||
"rounded border border-current/30",
|
||||
"bg-black/20 backdrop-blur-sm",
|
||||
"opacity-70 hover:opacity-100 hover:border-current/60",
|
||||
|
||||
Reference in New Issue
Block a user