Improve collections view

- Add opacity on book covers
- Enlarge book covers
This commit is contained in:
2026-04-08 14:36:40 +02:00
parent 6e3899b25e
commit 26931c734b
2 changed files with 19 additions and 6 deletions

View File

@@ -215,8 +215,8 @@ func FetchAllCollections(db *gorm.DB, userId uint, limit int, offset int) ([]Col
return collections, res.Error
}
for _, collectionId := range collectionIds {
//only takes first 5 books
queryResults, err := fetchCollectionItemBook(db, collectionId.ID, 5, 0)
//only takes first 8 books
queryResults, err := fetchCollectionItemBook(db, collectionId.ID, 8, 0)
if err != nil {
return collections, res.Error
}