GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(web): effort picker shows Default or the checkmark, flush right (… · samnab/t3code@15fe283

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/web/src/components/chat
    • ComposerModelEffort.tsx
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/web/src/components/chat/ComposerModelEffort.tsx‎

Copy file name to clipboardExpand all lines: apps/web/src/components/chat/ComposerModelEffort.tsx
+8-2Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,14 @@ function ColumnRow(props: {
171171
const content = (
172172
<>
173173
<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}
176182
</>
177183
);
178184
if (!props.description) return <button {...rowProps}>{content}</button>;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.