fix: align task detail field widths
This commit is contained in:
@@ -378,10 +378,12 @@ describe('settings data tools', () => {
|
||||
})
|
||||
|
||||
describe('task detail due field', () => {
|
||||
it('keeps the due datetime control compact instead of stretching across the detail panel', () => {
|
||||
it('keeps the list, due datetime and repeat controls equally compact', () => {
|
||||
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')
|
||||
expect(app).toContain('class="task-detail-due-input task-detail-field-input"')
|
||||
expect(app.match(/class="task-detail-field-input"/g)).toHaveLength(2)
|
||||
expect(css).toContain('.task-detail-field-input{width:190px!important;max-width:100%;justify-self:end}')
|
||||
expect(css).toContain('.task-detail-due-input{padding-inline:9px!important}')
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user