Add a xl breakpoint to the album grid
This commit is contained in:
parent
3092f83a00
commit
ef0e5b130d
2 changed files with 2 additions and 2 deletions
|
|
@ -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) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue