Updated grid view to use CSS grid and flexbox

Provides a cleaner height-matched design.
Closes #701
This commit is contained in:
Dan Brown
2018-02-11 11:36:51 +00:00
parent 2533db260d
commit bed7ba78d3
5 changed files with 64 additions and 31 deletions

View File

@ -36,7 +36,7 @@ class BookController extends Controller
*/
public function index()
{
$books = $this->entityRepo->getAllPaginated('book', 20);
$books = $this->entityRepo->getAllPaginated('book', 18);
$recents = $this->signedIn ? $this->entityRepo->getRecentlyViewed('book', 4, 0) : false;
$popular = $this->entityRepo->getPopular('book', 4, 0);
$new = $this->entityRepo->getRecentlyCreated('book', 4, 0);