fix: prevent Codex overrides footer overflow with long binary paths (#707)
This commit is contained in:
1 parent
13eeb07f5f
commit
b37279ca21
1 file changed
+8
-5
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user