Skip to content

Commit

Permalink
Fixes #367 - Fix auto-width on xs screens
Browse files Browse the repository at this point in the history
  • Loading branch information
iamhosseindhv committed Apr 18, 2021
1 parent 8c6d6bf commit 8ebfafc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SnackbarItem/SnackbarItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ const styles = (theme: Theme) => {
},
collapseWrapperInner: {
width: 'auto',
[theme.breakpoints.down('xs')]: {
width: '100%',
},
},
});
}
Expand Down

0 comments on commit 8ebfafc

Please sign in to comment.