Pages: a quiet tap highlight; the libraries panel's keys and a sheet's choices a finger's size; the map put away when the layout changes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
1 parent
efc09c67f6
commit
d3c2ea452a
2 files changed
+5
-2
No files matched your search
+4
-1
@@ -226,7 +226,10 @@ test("pin and close from a pane's buttons, its ⋯, and the map of every open pa
|
|||||||
const sheet = page.locator(".menu.sheet");
|
const sheet = page.locator(".menu.sheet");
|
||||||
await expect(sheet).toBeVisible();
|
await expect(sheet).toBeVisible();
|
||||||
await expect(sheet.locator(".mi", { hasText: "Unpin this pane" }).or(sheet.locator(".mi", { hasText: "Pin this pane" }))).toHaveCount(1);
|
await expect(sheet.locator(".mi", { hasText: "Unpin this pane" }).or(sheet.locator(".mi", { hasText: "Pin this pane" }))).toHaveCount(1);
|
||||||
for (const m of await sheet.locator(".mi").all()) expect((await m.boundingBox())!.height).toBeGreaterThanOrEqual(40);
|
for (const m of await sheet.locator(".mi, .choices button").all()) {
|
||||||
|
const b = (await m.boundingBox())!;
|
||||||
|
expect(Math.min(b.width, b.height)).toBeGreaterThanOrEqual(40);
|
||||||
|
}
|
||||||
await shot(page, "09-pane-menu");
|
await shot(page, "09-pane-menu");
|
||||||
// A tap outside puts it away (on the status line, where a tap does nothing else).
|
// A tap outside puts it away (on the status line, where a tap does nothing else).
|
||||||
const status = (await page.locator(".status").boundingBox())!;
|
const status = (await page.locator(".status").boundingBox())!;
|
||||||
|
|||||||
+1
-1
@@ -867,7 +867,7 @@ html { scroll-padding-top: 48px; }
|
|||||||
}
|
}
|
||||||
.menu.sheet .mi { padding: 0.62rem 1rem; }
|
.menu.sheet .mi { padding: 0.62rem 1rem; }
|
||||||
.menu.sheet .choices { padding: 0.45rem 1rem; }
|
.menu.sheet .choices { padding: 0.45rem 1rem; }
|
||||||
.menu.sheet .choices button { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
|
.menu.sheet .choices button { padding: 0.35rem 0.6rem; font-size: 0.8rem; min-height: 40px; min-width: 40px; }
|
||||||
@media (hover: none) {
|
@media (hover: none) {
|
||||||
.more { pointer-events: none; padding: 0.45em 0.6em; margin: -0.3em -0.4em -0.3em 0.3em; }
|
.more { pointer-events: none; padding: 0.45em 0.6em; margin: -0.3em -0.4em -0.3em 0.3em; }
|
||||||
.node.focused > .row > .more, .top.focused .more, :is(.sidenote, .inset).focused > .more { opacity: 1; pointer-events: auto; }
|
.node.focused > .row > .more, .top.focused .more, :is(.sidenote, .inset).focused > .more { opacity: 1; pointer-events: auto; }
|
||||||
|
|||||||
Reference in new issue
Block a user