terminal profile: move Cancel/Apply to the top of the dialog

The actions sat below the note line and the (long, 45vh) bits grid, so they
needed scrolling to reach. They now sit to the right of the preset selector
and hex field, aligned with the preset row; the bit grid is unchanged.
This commit is contained in:
2026-09-16 23:26:51 +03:00
parent c734b46731
commit 0698c9e90c
+3
View File
@@ -117,6 +117,9 @@ test('Phone tab exposes the TERMINAL PROFILE block and Configure dialog', () =>
assert.ok(html.includes('id="tp-apply-btn"'));
// the preset select sits above the hex field, not next to it
assert.ok(html.indexOf('id="tp-preset"') < html.indexOf('id="tp-hex"'));
// Apply/Cancel sit at the top (right of the preset/hex fields), above the
// long bits grid, so they are reachable without scrolling
assert.ok(html.indexOf('id="tp-apply-btn"') < html.indexOf('id="tp-form"'));
});
test('tpLayoutGroups lays the byte blocks out in the configured columns', () => {