Merge pull request #213 from fsolla/cursor/pool-i198-68d46759-94e3

B115 — Início — strip sem faixa branca lateral (botões na borda)
This commit is contained in:
github-actions[bot] 2026-08-02 01:04:18 +00:00 committed by GitHub
commit a805b40bbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

View file

@ -138,9 +138,12 @@ export const CampaignHomeActionStrip = ({
)}
{...finePointerPanProps}
>
{/* B115 — deliberate px-0: buttons enter from the device edge; the slot's
-mx-4 bleed already takes the scroller to the edge. Do not re-add a
lateral inset here (product reverted the B101 ul inset). */}
<ul
role="list"
className="m-0 flex min-w-max list-none snap-x snap-proximity gap-0 px-4 pb-1 md:px-0"
className="m-0 flex min-w-max list-none snap-x snap-proximity gap-0 px-0 pb-1"
>
{actions?.map(({ id, ...button }) => (
<li key={id ?? button.href ?? button.label} className="m-0 list-none p-0">

View file

@ -193,8 +193,8 @@ describe('CampaignHomeActionStrip', () => {
const list = scroller?.querySelector('ul[role="list"]')
expect(list).toBeTruthy()
expect(list?.className).toContain('gap-0')
expect(list?.className).toContain('px-4')
expect(list?.className).toContain('md:px-0')
expect(list?.className).toContain('px-0')
expect(list?.className).not.toContain('px-4')
expect(list?.className).not.toContain('gap-2')
})