fix: prevent Codex overrides footer overflow with long binary paths (#707)

This commit is contained in:
Utkarsh Patil authored and GitHub committed 2026-03-10 11:46:49 -07:00
1 parent 13eeb07f5f
commit b37279ca21
1 file changed
+8 -5
+8 -5
View File
@@ -280,14 +280,17 @@ function SettingsRouteView() {
</span>
</label>
<div className="flex items-center justify-between gap-2 text-xs text-muted-foreground">
<p>
Binary source:{" "}
<span className="font-medium text-foreground">{codexBinaryPath || "PATH"}</span>
</p>
<div className="flex flex-col gap-3 text-xs text-muted-foreground sm:flex-row sm:items-start sm:justify-between">
<div className="min-w-0 flex-1">
<p>Binary source</p>
<p className="mt-1 break-all font-mono text-[11px] text-foreground">
{codexBinaryPath || "PATH"}
</p>
</div>
<Button
size="xs"
variant="outline"
className="self-start"
onClick={() =>
updateSettings({
codexBinaryPath: defaults.codexBinaryPath,