diff --git a/src/components/medications/__tests__/intake-history-list-v2.test.tsx b/src/components/medications/__tests__/intake-history-list-v2.test.tsx index 283ea1fb4..04ada67d2 100644 --- a/src/components/medications/__tests__/intake-history-list-v2.test.tsx +++ b/src/components/medications/__tests__/intake-history-list-v2.test.tsx @@ -241,6 +241,10 @@ describe(" — sort indicators", () => { ); expect(html).toContain("Previous"); expect(html).toContain("Next"); + // a11y: pagination buttons clear the 44 px mobile touch floor and + // collapse to 36 px from sm+ so the row stays compact on desktop. + expect(html).toContain("min-h-11"); + expect(html).toContain("sm:min-h-9"); }); it("hides pagination when total ≤ pageSize", () => { diff --git a/src/components/medications/intake-history-list-v2.tsx b/src/components/medications/intake-history-list-v2.tsx index 58ca0e2a5..462955b74 100644 --- a/src/components/medications/intake-history-list-v2.tsx +++ b/src/components/medications/intake-history-list-v2.tsx @@ -252,7 +252,7 @@ export function IntakeHistoryListV2({