Moved top paginator to right place

This commit is contained in:
Christoph Haas 2020-10-30 15:46:37 +01:00
parent 401c34f021
commit f1c3982985

View file

@ -10,10 +10,11 @@
.grid-x.grid-margin-x
.small-7.medium-7.cell
/ Left column contains images
= render(partial: 'packages/paginator', locals: {items: @screenshots})
- if @screenshots.count > 0
.grid-x.grid-margin-y.grid-margin-x.align-middle
/ TODO: paginator at the top looks ugly. maybe more space? or put it into the box on the right?
= render(partial: 'packages/paginator', locals: {items: @screenshots})
- @screenshots.each_with_index do |screenshot, idx|
/ Display the first screenshot as a large image (on the first page only)