Skip to content

Commit

Permalink
chore: fix teaser list to always output ul li
Browse files Browse the repository at this point in the history
  • Loading branch information
dan2k3k4 committed Jan 22, 2025
1 parent ae75bbe commit f60f961
Showing 1 changed file with 4 additions and 4 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

0 comments on commit f60f961

Please sign in to comment.