fix: local echo overlay — move box-shadow from zero-height container to first line div

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-02-19 15:07:21 +01:00
co-authored by Claude Opus 4.6
parent 219f06001e
commit 342a2add10
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ When user says "COM":
1. Increment version in BOTH `package.json` AND `CLAUDE.md` (verify they match with `grep version package.json && grep Version CLAUDE.md`)
2. Run: `git add -A && git commit -m "chore: bump version to X.XXXX" && git push && npm run build && systemctl --user restart claudeman-web`
**Version**: 0.1554 (must match `package.json` for npm publish)
**Version**: 0.1555 (must match `package.json` for npm publish)
## Project Overview
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "claudeman",
"version": "0.1554",
"version": "0.1555",
"description": "The missing control plane for Claude Code - run 20 autonomous agents with real-time monitoring and session persistence",
"type": "module",
"main": "dist/index.js",
+5 -3
View File
@@ -987,8 +987,7 @@ class LocalEchoOverlay {
// Position overlay container at prompt row
this.overlay.style.left = '0px';
this.overlay.style.top = (prompt.row * cellH) + 'px';
// Cover any subpixel seam above first line
this.overlay.style.boxShadow = `0 -1px 0 0 ${this._bg}`;
this.overlay.style.boxShadow = 'none';
// Build line elements — recreate on each render (typically 1-3 divs, negligible cost)
this.overlay.innerHTML = '';
@@ -997,7 +996,10 @@ class LocalEchoOverlay {
const leftPx = i === 0 ? startCol * cellW : 0;
const widthPx = i === 0 ? (fullWidthPx - leftPx) : fullWidthPx;
const topPx = i * cellH;
this.overlay.appendChild(this._makeLine(lines[i], leftPx, topPx, widthPx, cellH));
const lineEl = this._makeLine(lines[i], leftPx, topPx, widthPx, cellH);
// Cover subpixel seam above first line only
if (i === 0) lineEl.style.boxShadow = `0 -1px 0 0 ${this._bg}`;
this.overlay.appendChild(lineEl);
}
// Block cursor at end of last line