Fit more rows on one screen: 64px rows, 8px gaps, tighter top
Home rows shrink to 64px with 8px gaps and 40px icons, and the space above and below the Windows panel is trimmed, so about two more rows of apps fit on a phone screen. widget_rows and the resize test follow the new rows. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NYASJ6JNxhYwNNJK7ypK2V
This commit is contained in:
4 files changed
+11
-11
No files matched your search
+2
-2
@@ -111,11 +111,11 @@ const BASE = process.env.BASE || "http://localhost:8000";
|
||||
await p.mouse.move(hd.x + hd.width / 2, hd.y + hd.height / 2);
|
||||
await p.mouse.down();
|
||||
const ws = await p.locator(".widget-slot").boundingBox();
|
||||
await p.mouse.move(ws.x + tile.width * 2.1, ws.y + 175, { steps: 8 }); await settle();
|
||||
await p.mouse.move(ws.x + tile.width * 2.1, ws.y + 140, { steps: 8 }); await settle();
|
||||
await p.mouse.up(); await settle();
|
||||
const [w1, h1] = await size();
|
||||
assert.ok(w1 < w0 && Math.abs(w1 - (2 * tile.width + 8)) < 3, `two columns wide: ${w1} (tile ${tile.width})`);
|
||||
assert.equal(h1, 2 * 72 + 12, "snapped to two whole rows of tiles");
|
||||
assert.equal(h1, 2 * 64 + 8, "snapped to two whole rows of tiles");
|
||||
assert.ok(await p.$(".widget-slot.resizing"), "letting go of a handle keeps the handles");
|
||||
await p.click(".resize-bar >> text=Done"); await settle();
|
||||
assert.ok(!(await p.$(".resize-handle")));
|
||||
|
||||
Reference in new issue
Block a user