fix(session-options): stack the working folder row so long paths fit (#593 merge-time fix)

The row was a plain flex `.set-row` with a non-shrinking actions column, so
the <code> took its full max-content width: the label column collapsed to
0px, the path overlapped the description and the Copy button left the row
(off-screen on a phone). It now uses the stacked `set-row-block` layout the
Session color row already uses, and the path shrinks and wraps.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-10-13 18:19:06 +02:00
1 parent 0ff9b798af
commit 771c23e261
1 file changed
+3 -3
+3 -3
View File
@@ -1442,13 +1442,13 @@
<input type="text" id="modalSessionName" class="set-input" maxlength="128" placeholder="Auto (directory name)" onblur="app.saveSessionName()"> <input type="text" id="modalSessionName" class="set-input" maxlength="128" placeholder="Auto (directory name)" onblur="app.saveSessionName()">
</div> </div>
</div> </div>
<div class="set-row"> <div class="set-row set-row-block">
<div class="set-row-text"> <div class="set-row-text">
<span class="set-row-label">Working folder</span> <span class="set-row-label">Working folder</span>
<span class="set-row-desc">Where this session's CLI runs, on the machine hosting Codeman.</span> <span class="set-row-desc" id="modalSessionPathDesc">Where this session's CLI runs, on the machine hosting Codeman.</span>
</div> </div>
<div class="set-row-actions"> <div class="set-row-actions">
<code id="modalSessionPath" class="set-static mono" style="word-break: break-all; user-select: all;"></code> <code id="modalSessionPath" class="set-static mono" style="flex: 1; min-width: 0; word-break: break-all; user-select: all;"></code>
<button type="button" class="btn-toolbar btn-sm" id="modalSessionPathCopy" onclick="app.copySessionPath()">Copy</button> <button type="button" class="btn-toolbar btn-sm" id="modalSessionPathCopy" onclick="app.copySessionPath()">Copy</button>
</div> </div>
</div> </div>