Skip to content

Commit

Permalink
Merge pull request #9297 from marmelab/demo-fix-review-list-scrollbar
Browse files Browse the repository at this point in the history
[Demo] Fix ReviewList shows horizontal scrollbar on mobile
  • Loading branch information
slax57 authored Sep 20, 2023
2 parents 3afeca9 + 53f33dd commit 0439caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/demo/src/reviews/ReviewListMobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const ReviewListMobile = () => {
return null;
}
return (
<List sx={{ width: '100vw' }}>
<List sx={{ width: 'calc(100vw - 33px)' }}>
{data.map(review => (
<RecordContextProvider value={review} key={review.id}>
<ReviewItem />
Expand Down

0 comments on commit 0439caf

Please sign in to comment.