Skip to content

Commit ccd26c9

Browse files
authored
Merge pull request #497 from atomantic/cos/task-mpm56x8j/agent-ec11f870
show full shell session labels instead of truncating to 140px
2 parents 421f3b7 + f48438b commit ccd26c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/pages/Shell.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ export default function Shell() {
765765

766766
{/* Session tabs */}
767767
{sessions.length > 0 && (
768-
<div className="flex items-center gap-1.5 mb-3 overflow-x-auto pb-1">
768+
<div className="flex flex-wrap items-center gap-1.5 mb-3 pb-1">
769769
{sessions.map((s) => {
770770
const isActive = s.sessionId === activeSessionId;
771771
const label = s.label || s.cwd?.split('/').pop() || shortId(s.sessionId);
@@ -781,7 +781,7 @@ export default function Shell() {
781781
title={`${s.label || s.cwd || shortId(s.sessionId)}${formatAge(s.createdAt)} old`}
782782
>
783783
<TerminalIcon size={12} className="shrink-0" />
784-
<span className="truncate max-w-[140px]">{label}</span>
784+
<span className="min-w-0 break-all">{label}</span>
785785
<span className="text-[10px] opacity-60 shrink-0">{formatAge(s.createdAt)}</span>
786786
<button
787787
onClick={(e) => { e.stopPropagation(); killOtherSession(s.sessionId); }}

0 commit comments

Comments
 (0)