Skip to content

Commit

Permalink
Fix set inner widt
Browse files Browse the repository at this point in the history
  • Loading branch information
vadymshymko committed Feb 19, 2023
1 parent 720d14c commit 01d1e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -949,6 +949,7 @@ function ReactSimplyCarousel({
<div
{...innerProps}
style={{
width: '100%',
...innerStyle,
display: 'flex',
boxSizing: 'border-box',
Expand All @@ -957,7 +958,6 @@ function ReactSimplyCarousel({
overflow: 'hidden',
maxWidth: innerMaxWidth ? `${innerMaxWidth}px` : undefined,
flex: !innerMaxWidth ? `1 0` : undefined,
width: '100%',
}}
ref={innerRef}
>
Expand Down

0 comments on commit 01d1e50

Please sign in to comment.