Skip to content

Commit

Permalink
Merge branch 'SLB-455-card-subgrid' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dan2k3k4 committed Jan 22, 2025
2 parents 7c226b7 + 99aa20b commit 9335382
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/ui/src/components/Organisms/Carousel/Carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function Carousel({
return (
<div className="embla m-auto max-w-full">
<div className="embla__viewport overflow-hidden" ref={emblaRef}>
<div
<ul
className={clsx(
'embla__container grid touch-pan-y touch-pinch-zoom grid-flow-col gap-4',
{
Expand All @@ -53,11 +53,11 @@ export function Carousel({
)}
>
{React.Children.map(children, (child, index) => (
<div key={index} className="embla__slide min-w-0 p-2">
<li key={index} className="embla__slide min-w-0 p-2">
{child}
</div>
</li>
))}
</div>
</ul>
</div>

<div className="embla__controls mt-4 grid grid-cols-[auto_1fr] justify-between gap-4">
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/specs/drupal/blocks.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,6 @@ test.describe('Testing All Blocks', () => {
await validateTileAndSubtitle(page, 'Block: Teaser list');

const content = page.getByRole('main');
await expect(content.locator('ul > li')).toHaveCount(8);
await expect(content.locator('ul > li')).toHaveCount(5);
});
});

0 comments on commit 9335382

Please sign in to comment.