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:
@@ -117,6 +117,9 @@ test('Phone tab exposes the TERMINAL PROFILE block and Configure dialog', () =>
|
|||||||
assert.ok(html.includes('id="tp-apply-btn"'));
|
assert.ok(html.includes('id="tp-apply-btn"'));
|
||||||
// the preset select sits above the hex field, not next to it
|
// the preset select sits above the hex field, not next to it
|
||||||
assert.ok(html.indexOf('id="tp-preset"') < html.indexOf('id="tp-hex"'));
|
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', () => {
|
test('tpLayoutGroups lays the byte blocks out in the configured columns', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user