Persist root UI/tailwind/responsive guard refinements from stash backlog
This commit is contained in:
parent
b4cb09a6cc
commit
e599640d3b
7 changed files with 39 additions and 23 deletions
|
|
@ -9,11 +9,12 @@ async function read(relativePath) {
|
|||
return fs.readFile(path.join(ROOT, relativePath), 'utf8');
|
||||
}
|
||||
|
||||
test('kanban board uses intentional horizontal scroll affordances', async () => {
|
||||
test('kanban board uses expandable vertical swimlanes', async () => {
|
||||
const board = await read('src/components/kanban/kanban-board.tsx');
|
||||
|
||||
assert.match(board, /snap-x/);
|
||||
assert.match(board, /overflow-x-auto/);
|
||||
assert.match(board, /aria-expanded/);
|
||||
assert.match(board, /onActivateStatus/);
|
||||
assert.match(board, /max-h-\[50vh\]/);
|
||||
});
|
||||
|
||||
test('kanban page defines mobile detail drawer behavior', async () => {
|
||||
|
|
@ -21,6 +22,8 @@ test('kanban page defines mobile detail drawer behavior', async () => {
|
|||
|
||||
assert.match(page, /fixed inset-0/);
|
||||
assert.match(page, /lg:hidden/);
|
||||
assert.match(page, /lg:grid-cols-\[minmax\(0,1fr\)_minmax\(22rem,26rem\)\]/);
|
||||
assert.match(page, /lg:border-l/);
|
||||
});
|
||||
|
||||
test('kanban controls use fluid full-width sizing on small viewports', async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue