Skip to content

Commit 873ef35

Browse files
authored
Merge pull request #1057 from vr-varad/fix/carousal_padding_fix
Fix: Performance Carousel
2 parents 842f300 + 0646e60 commit 873ef35

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/custom/Carousel/style.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,19 @@ export const CarouselButton = styled('button')(({ theme }) => ({
1717
color: '#fff'
1818
},
1919
'&:first-of-type': {
20-
left: '-1.2rem'
20+
left: '-0.5rem'
2121
},
2222
'&:last-of-type': {
23-
right: '-1.2rem'
23+
right: '-0.5rem'
2424
}
2525
}));
2626

2727
export const CarouselWrapper = styled('div')({
2828
display: 'flex',
2929
alignItems: 'center',
3030
width: '100%',
31-
position: 'relative'
31+
position: 'relative',
32+
padding: '0 3rem'
3233
});
3334

3435
export const CarouselContainer = styled('div')({

0 commit comments

Comments
 (0)