fix: compact task detail due input
ci / gitleaks (push) Successful in 6s
ci / docker (push) Successful in 6m39s

This commit is contained in:
2026-09-08 22:55:58 +08:00
parent cc9252cea1
commit 5b8eb39af3
3 changed files with 10 additions and 2 deletions
+8
View File
@@ -359,6 +359,14 @@ describe('settings data tools', () => {
})
})
describe('task detail due field', () => {
it('keeps the due datetime control compact instead of stretching across the detail panel', () => {
expect(app).toContain('<label class="task-detail-due-row">截止时间')
expect(app).toContain('class="task-detail-due-input"')
expect(css).toContain('.task-detail-due-input{width:190px!important;max-width:100%;justify-self:end')
})
})
describe('unified floating add interaction', () => {
it('uses compact date and time chips instead of large visible mobile inputs', () => {
expect(app).toContain("composeDueAt.value = activeView.value === 'today' ? defaultTaskDueAt() : ''")