fix overflow

This commit is contained in:
Karol Wypchlo 2021-04-22 12:53:10 +02:00
parent 5baad06e04
commit e87522ab28
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export const Carousel = ({ Component, items }) => {
<div className="relative overflow-hidden">
<div className="opacity-0 flex flex-row">
{items.map((item, index) => (
<div key={index} className="flex-shrink-0 w-screen">
<div key={index} className="flex-shrink-0 w-full">
<Component {...item} />
</div>
))}