fix: compact desktop task composer
This commit is contained in:
@@ -542,6 +542,11 @@ describe('completion feedback motion', () => {
|
||||
expect(dueRemovalBlock).not.toContain('saveRepeat(')
|
||||
})
|
||||
|
||||
it('keeps the desktop task composer compact and centered', () => {
|
||||
expect(css).toContain('@media(min-width:931px){.task-compose-sheet:not(.habit-compose-sheet){width:min(560px,calc(100vw - 48px));height:min(520px,82dvh);max-height:none;padding:0;display:flex;flex-direction:column;gap:0;overflow:hidden}')
|
||||
expect(css).toContain('.app-sheet-mask:has(>.task-compose-sheet:not(.habit-compose-sheet)){place-items:center;padding:24px}')
|
||||
})
|
||||
|
||||
it('keeps all task composer touch controls at least 44px on mobile without horizontal overflow', () => {
|
||||
expect(css).toContain('@media(max-width:390px){.task-compose-sheet')
|
||||
expect(css).toContain('.task-compose-sheet .app-sheet__header>button{min-width:44px;min-height:44px}')
|
||||
|
||||
Reference in New Issue
Block a user