diff --git a/NucleicRemote/NucleicRemote/Views/Transcript/HostExecCard.swift b/NucleicRemote/NucleicRemote/Views/Transcript/HostExecCard.swift index 99acd3e..a7ae46a 100644 --- a/NucleicRemote/NucleicRemote/Views/Transcript/HostExecCard.swift +++ b/NucleicRemote/NucleicRemote/Views/Transcript/HostExecCard.swift @@ -69,7 +69,9 @@ struct HostExecToolCard: View { Text("$").font(.caption.monospaced()).foregroundStyle(Palette.accent.opacity(0.7)) Text(command) .font(.caption.monospaced()).foregroundStyle(.secondary) - .lineLimit(expanded ? nil : 1).truncationMode(.middle) + // Expanded, the literal stays bounded — a long chain's command is itself + // long, and the compact step list above carries the structure. + .lineLimit(expanded ? 6 : 1).truncationMode(.middle) .textSelection(.enabled) } }