Fix covers overflow in some resolutions
This commit is contained in:
@@ -13,10 +13,6 @@ const useStyles = makeStyles((theme) => ({
|
||||
root: {
|
||||
margin: '20px',
|
||||
},
|
||||
gridListTile: {
|
||||
minHeight: '180px',
|
||||
minWidth: '180px',
|
||||
},
|
||||
tileBar: {
|
||||
textAlign: 'left',
|
||||
background:
|
||||
@@ -44,8 +40,9 @@ const useCoverStyles = makeStyles({
|
||||
|
||||
const getColsForWidth = (width) => {
|
||||
if (width === 'xs') return 2
|
||||
if (width === 'sm') return 4
|
||||
if (width === 'md') return 5
|
||||
if (width === 'sm') return 3
|
||||
if (width === 'md') return 4
|
||||
if (width === 'lg') return 6
|
||||
return 6
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user