fix: compact task detail due input
This commit is contained in:
@@ -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() : ''")
|
||||
|
||||
Reference in New Issue
Block a user