mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-21 03:09:37 +00:00
Update responsive limit for displayed items on personalized shelves on home page
This commit is contained in:
parent
618e69775c
commit
ea11153032
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ export default {
|
||||||
// Sets the limit for the number of items to be displayed based on the viewport width.
|
// Sets the limit for the number of items to be displayed based on the viewport width.
|
||||||
const viewportWidth = window.innerWidth
|
const viewportWidth = window.innerWidth
|
||||||
let limit
|
let limit
|
||||||
if (viewportWidth >= 3240 && viewportWidth <= 3440) {
|
if (viewportWidth >= 3240) {
|
||||||
limit = 15
|
limit = 15
|
||||||
} else if (viewportWidth >= 2880 && viewportWidth < 3240) {
|
} else if (viewportWidth >= 2880 && viewportWidth < 3240) {
|
||||||
limit = 12
|
limit = 12
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue