@devries-cameron20 / t3code Mirror · read-only / commits / 36b6c036e8
Fork 0

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 23, 04:15 UTC

fix(web): Antigravity setup card separators match other settings cards (#20088)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

MONKE2525E committed Oct 18, 2026 at 12:19 UTC 36b6c036e8db996778748cb8bfeea35d5724836d
2 files changed +23 -24
apps/web/src/components/settings/ProviderInstanceCard.tsx
+18 -20
@@ -1184,26 +1184,24 @@ export function ProviderInstanceCard({
1184 {setup || environmentFields.length > 0 ? (
1185 <SettingsSection title="Setup">
1186 {setup}
1187 - <div
1188 - inert={readOnly}
1189 - aria-disabled={readOnly || undefined}
1190 - className={readOnly ? "opacity-50 select-none" : undefined}
1191 - >
1192 - {environmentFields.length > 0 ? (
1193 - <>
1194 - {environmentFields.map((field) => (
1195 - <ProviderEnvironmentFieldRow
1196 - key={field.name}
1197 - field={field}
1198 - variable={readProviderEnvironmentVariable(instance.environment, field.name)}
1199 - idPrefix={`provider-instance-${instanceId}`}
1200 - onCommit={updateEnvironmentField}
1201 - onRemove={removeEnvironmentField}
1202 - />
1203 - ))}
1204 - </>
1205 - ) : null}
1206 - </div>
1187 + {environmentFields.length > 0 ? (
1188 + <div
1189 + inert={readOnly}
1190 + aria-disabled={readOnly || undefined}
1191 + className={readOnly ? "opacity-50 select-none" : undefined}
1192 + >
1193 + {environmentFields.map((field) => (
1194 + <ProviderEnvironmentFieldRow
1195 + key={field.name}
1196 + field={field}
1197 + variable={readProviderEnvironmentVariable(instance.environment, field.name)}
1198 + idPrefix={`provider-instance-${instanceId}`}
1199 + onCommit={updateEnvironmentField}
1200 + onRemove={removeEnvironmentField}
1201 + />
1202 + ))}
1203 + </div>
1204 + ) : null}
1205 </SettingsSection>
1206 ) : null}
1207
apps/web/src/components/settings/ProviderSetupSection.tsx
+5 -4
@@ -49,7 +49,7 @@ export function ProviderSetupSection(props: ProviderSetupSectionProps) {
49 return (
50 <section
51 aria-label="Antigravity setup"
52 - className="@container/setup divide-y divide-border/50 text-xs"
52 + className="@container/setup divide-y divide-border/50 text-xs [&_[data-slot=settings-row]]:rounded-none"
53 >
54 <SettingsRow
55 className="@max-lg/setup:[&>div:first-child]:flex @max-lg/setup:[&>div:first-child]:items-stretch @max-lg/setup:[&>div:first-child]:gap-3"
@@ -185,6 +185,10 @@ function ProviderSetupActions({
185
186 return (
187 <div className="divide-y divide-border/50">
188 + {/* Keep the live region first so the last visible row is not followed by a sibling that adds its divider. */}
189 + <p className="sr-only" role="status">
190 + {pendingLabel ? `${pendingLabel}.` : null}
191 + </p>
192 <SettingsRow
193 title="Runtime"
194 className="@max-lg/setup:[&>div:first-child]:flex @max-lg/setup:[&>div:first-child]:items-stretch @max-lg/setup:[&>div:first-child]:gap-3"
@@ -298,9 +302,6 @@ function ProviderSetupActions({
302 readOnly={false}
303 />
304
301 - <p className="sr-only" role="status">
302 - {pendingLabel ? `${pendingLabel}.` : null}
303 - </p>
305 {error || queryError ? (
306 <div className="grid gap-2 px-3 py-3 sm:px-4">
307 <p role="alert" className="text-destructive [overflow-wrap:anywhere]">