Add a xl breakpoint to the album grid
This commit is contained in:
@@ -49,7 +49,7 @@ const getColsForWidth = (width) => {
|
|||||||
if (width === 'sm') return 3
|
if (width === 'sm') return 3
|
||||||
if (width === 'md') return 4
|
if (width === 'md') return 4
|
||||||
if (width === 'lg') return 6
|
if (width === 'lg') return 6
|
||||||
return 6
|
return 9
|
||||||
}
|
}
|
||||||
|
|
||||||
const Cover = withContentRect('bounds')(
|
const Cover = withContentRect('bounds')(
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ const getPerPage = (width) => {
|
|||||||
if (width === 'sm') return 12
|
if (width === 'sm') return 12
|
||||||
if (width === 'md') return 15
|
if (width === 'md') return 15
|
||||||
if (width === 'lg') return 18
|
if (width === 'lg') return 18
|
||||||
return 21
|
return 36
|
||||||
}
|
}
|
||||||
|
|
||||||
const getPerPageOptions = (width) => {
|
const getPerPageOptions = (width) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user