fix: hide mobile-only menu buttons on desktop
ci / docker (push) Successful in 3m40s

This commit is contained in:
2026-09-07 10:00:05 +08:00
parent 4fb953dda0
commit fa69a817ff
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -28,6 +28,11 @@ describe('mobile touch targets', () => {
expect(css).toContain('.countdown-add{min-height:44px;')
expect(css).toContain('.countdown-modal header button{min-width:44px;min-height:44px;')
})
it('keeps mobile-only menu buttons hidden on desktop despite the .icon grid rule', () => {
expect(css).toMatch(/\.icon,\.ghost\{[^}]*display:grid[^}]*\}\.mobile-only\{display:none\}/)
expect(css).toContain('@media(max-width:930px){.shell')
})
})
describe('sidebar layout', () => {