The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 09:30 UTC
fix(web): effort picker shows Default or the checkmark, flush right (#28162)
Co-authored-by: PR Batch Tester <agent@local.test> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
shivam committed
Oct 31, 2026 at 20:24 UTC
15fe2832727893cbdd2214383f9f971474849695
1 file changed
+8
-2
apps/web/src/components/chat/ComposerModelEffort.tsx
+8
-2
@@ -171,8 +171,14 @@ function ColumnRow(props: {
171
const content = (
172
<>
173
<span className="min-w-0 flex-1 truncate">{props.label}</span>
174
- {props.isDefault ? <span className="text-muted-foreground/70 text-xs">Default</span> : null}
175
- <CheckIcon aria-hidden="true" className={cn("size-3.5", !props.selected && "invisible")} />
174
+ {props.selected ? (
175
+ <>
176
+ {props.isDefault ? <span className="sr-only">Default</span> : null}
177
+ <CheckIcon aria-hidden="true" className="size-3.5" />
178
+ </>
179
+ ) : props.isDefault ? (
180
+ <span className="text-muted-foreground/70 text-xs">Default</span>
181
+ ) : null}
182
</>
183
);
184
if (!props.description) return <button {...rowProps}>{content}</button>;