fix: add matrix mod header spacer

Add .mmod-head spacer to header row to align with voice row's
sticky-right .mmod block, matching .minst-head pattern on left.
Width: 192px (64+64+56 children widths + 4px padding-left).
This commit is contained in:
clement
2026-06-28 20:23:31 +02:00
parent 8bb1b778ed
commit 210a224e68
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -134,6 +134,7 @@ button.queued { animation: queued-blink 600ms ease-in-out infinite alternate; }
background: #1a1a1a; color: #ccc; border: 1px solid #333; flex-shrink: 0; }
.kit-btn { flex: 1; padding: 10px 4px; font-size: 11px; }
.minst-head { width: 78px; flex-shrink: 0; }
.mmod-head { width: 192px; flex-shrink: 0; }
.mmod { position: sticky; right: 0; z-index: 2; background: #111;
display: flex; gap: 2px; align-items: center; flex-shrink: 0; padding-left: 4px; }
.mmod-src, .mmod-tgt { width: 64px; font-size: 9px; background: #1a1a1a; color: #ccc; border: 1px solid #333; }
+3
View File
@@ -320,6 +320,9 @@ function renderMatrix() {
num.textContent = (bar % 4 === 0) ? String(bar + 1) : "";
headerRow.appendChild(num);
}
const modHead = document.createElement("span");
modHead.className = "mmod-head";
headerRow.appendChild(modHead);
container.appendChild(headerRow);
// Voice rows