From 5960a4dc3e9729de07504533480b99451dbc2114 Mon Sep 17 00:00:00 2001 From: rcourtman <8825017+rcourtman@users.noreply.github.com> Date: Sat, 3 Oct 2026 21:40:37 +0100 Subject: [PATCH] Pin the memory label chip padding, not its retired background The Tailwind 4 move (#2443) dropped the chip's bg-surface/80, which never rendered under Tailwind 3, so this branch's source pin failed after merging main. The model counts the chip's px-1 padding; pin that class alone. --- .../__tests__/stackedMemoryBarModel.branchcov0724pm.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-modern/src/components/Workloads/__tests__/stackedMemoryBarModel.branchcov0724pm.test.ts b/frontend-modern/src/components/Workloads/__tests__/stackedMemoryBarModel.branchcov0724pm.test.ts index 1914ed8d65..e88e3eb1ff 100644 --- a/frontend-modern/src/components/Workloads/__tests__/stackedMemoryBarModel.branchcov0724pm.test.ts +++ b/frontend-modern/src/components/Workloads/__tests__/stackedMemoryBarModel.branchcov0724pm.test.ts @@ -231,7 +231,7 @@ describe('stackedMemoryBarModel (branch coverage 0724pm)', () => { }); it('counts the padding the label chip carries in StackedMemoryBar', () => { - expect(stackedMemoryBarSource).toContain('bg-surface/80 px-1 text-center'); + expect(stackedMemoryBarSource).toContain('px-1 text-center'); }); }); });