@devries-cameron20 / t3code Mirror · read-only / commits / 7649465023
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 24, 10:15 UTC

fix(web): align provider controls with machine tabs (#9769)

maria committed Sep 4, 2026 at 17:16 UTC 764946502390845919d974490bc85e87b788c996
1 file changed +10 -11
apps/web/src/components/settings/ProviderSettingsPanel.tsx
+10 -11
@@ -191,8 +191,10 @@ function ProviderSettingsPlaceholder({
191 readonly children?: ReactNode;
192 }) {
193 return (
194 - <SettingsSection {...searchableSetting("providers")} variant="plain">
195 - {deviceTabs}
194 + <SettingsSection {...searchableSetting("providers")} hideTitle variant="plain">
195 + {deviceTabs ? (
196 + <div className="flex min-h-11 min-w-0 items-center px-3 sm:px-4">{deviceTabs}</div>
197 + ) : null}
198 <div
199 className={cn(
200 providerCardClassName,
@@ -323,7 +325,7 @@ function ProviderSettingsPanelContent(target: ProviderSettingsTarget) {
325 options.length === 1 && options[0]?.entry.target._tag === "PrimaryConnectionTarget";
326 const deviceTabs =
327 !onlyPrimaryDevice && options.length > 0 ? (
326 - <ScrollArea hideScrollbars scrollFade className="mx-3 h-11 min-w-0 rounded-none sm:mx-4">
328 + <ScrollArea hideScrollbars scrollFade className="h-11 min-w-0 flex-1 rounded-none">
329 <div role="group" aria-label="Devices" className="flex h-full w-max min-w-full px-1">
330 {options.map((environment) => {
331 const machine = resolveEnvironmentMachineKind(environment.serverConfig);
@@ -977,11 +979,10 @@ export function EnvironmentProviderSettings({
979
980 return (
981 <>
980 - <SettingsSection
981 - {...searchableSetting("providers")}
982 - variant="plain"
983 - headerAction={
984 - <div className="flex min-w-0 items-center gap-2">
982 + <SettingsSection {...searchableSetting("providers")} hideTitle variant="plain">
983 + <div className="flex min-h-11 min-w-0 items-center gap-2 px-3 sm:px-4">
984 + {deviceTabs}
985 + <div className="ml-auto flex min-w-0 shrink-0 items-center gap-2">
986 {readOnly ? (
987 <span className="min-w-0 truncate text-xs text-muted-foreground">
988 <ProviderLastChecked lastCheckedAt={lastCheckedAt} />
@@ -1030,9 +1031,7 @@ export function EnvironmentProviderSettings({
1031 </>
1032 )}
1033 </div>
1033 - }
1034 - >
1035 - {deviceTabs}
1034 + </div>
1035 {readOnly ? (
1036 <div className={cn(providerCardClassName, "overflow-hidden")}>
1037 <SettingsRow