feat: spacing tokens, actionable failure copy, unified focus ring, 44px touch targets, press feedback
ci / gitleaks (push) Successful in 8s
ci / docker (push) Successful in 3m36s

This commit is contained in:
2026-09-23 06:45:51 +08:00
parent 058f353965
commit 629e054823
25 changed files with 251 additions and 181 deletions
+2 -2
View File
@@ -271,8 +271,8 @@ test('settings match the approved paper-ledger geometry and action hierarchy', a
expect(layout.bodyOverflow).toBe(0)
const isMobileContract = (await page.viewportSize())!.width <= 720
if (isMobileContract) {
expect(layout.leftPadding).toBeCloseTo(29, 0)
expect(layout.rightPadding).toBeCloseTo(29, 0)
expect(layout.leftPadding).toBeCloseTo(28, 0)
expect(layout.rightPadding).toBeCloseTo(28, 0)
expect(layout.headingSize).toBe('24px')
} else {
const pageWidth = await page.locator('.settings-sections').evaluate(element => element.getBoundingClientRect().width)