@@ -17,3 +17,14 @@ describe('task and habit row decoration', () => {
|
||||
expect(css).toContain('.habit-row{border-left:0;')
|
||||
})
|
||||
})
|
||||
|
||||
describe('mobile touch targets', () => {
|
||||
it('keeps primary mobile controls at least 44px high', () => {
|
||||
expect(css).toContain('.icon,.ghost{min-width:44px;min-height:44px;')
|
||||
expect(css).toContain('.mini-icon,.row-actions button{min-width:44px;min-height:44px;')
|
||||
expect(css).toContain('.bottom button{min-height:44px;')
|
||||
expect(css).toContain('.habit-create button{min-height:44px;')
|
||||
expect(css).toContain('.countdown-add{min-height:44px;')
|
||||
expect(css).toContain('.countdown-modal header button{min-width:44px;min-height:44px;')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user