diff --git a/package.json b/package.json index 93d7549..80f39fb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-simply-carousel", - "version": "9.0.1", + "version": "9.0.2", "description": "A simple, lightweight, fully controlled isomorphic (with SSR support) React.js carousel component. Touch enabled and responsive. With support for autoplay and infinity options. Fully customizable", "files": [ "dist/" diff --git a/src/index.tsx b/src/index.tsx index eef1b1e..040c4fe 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -957,7 +957,7 @@ function ReactSimplyCarousel({ padding: '0', overflow: 'hidden', maxWidth: innerMaxWidth ? `${innerMaxWidth}px` : undefined, - flex: !innerMaxWidth ? `1 0` : undefined, + flex: !innerMaxWidth ? `1 0 auto` : undefined, }} ref={innerRef} >