diff --git a/editor.html b/editor.html index 668ea2a..54324ad 100644 --- a/editor.html +++ b/editor.html @@ -126,10 +126,10 @@ body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', syste #code-editor-gutter { width: 48px; padding: 12px 8px 12px 0; background: #181825; text-align: right; - font-family: 'Cascadia Code', 'Fira Code', monospace; + font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace; font-size: 13px; line-height: 1.6; color: #555; user-select: none; overflow: hidden; - flex-shrink: 0; + flex-shrink: 0; white-space: pre; } /* Main textarea */ @@ -992,9 +992,10 @@ function updateProps() { const portsStr = (ent.ports || []).map(p => `${p.name}:${p.dir}`).join(', '); html += propText('Ports', 'ports', portsStr); html += `
Format: A:out, B:out, C:in
`; - // Verify code editor with expand button + // Verify code — hidden textarea + "Open IDE" button const verifyCode = ent.verify || `(test) => {\n return test({A:0, B:0}).C === 0\n && test({A:1, B:1}).C === 1;\n}`; - html += `
`; + html += ``; + html += `
`; } }