Skip to content

Commit

Permalink
Update responsive limit for displayed items on personalized shelves o…
Browse files Browse the repository at this point in the history
…n home page
  • Loading branch information
glorenzen committed Jul 15, 2024
1 parent 618e697 commit ea11153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/app/BookShelfCategorized.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default {
// Sets the limit for the number of items to be displayed based on the viewport width.
const viewportWidth = window.innerWidth
let limit
if (viewportWidth >= 3240 && viewportWidth <= 3440) {
if (viewportWidth >= 3240) {
limit = 15
} else if (viewportWidth >= 2880 && viewportWidth < 3240) {
limit = 12
Expand Down

0 comments on commit ea11153

Please sign in to comment.