From f1c3982985a688e1dfe2af0cbaeb71d2f89d5371 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Fri, 30 Oct 2020 15:46:37 +0100 Subject: [PATCH] Moved top paginator to right place --- app/views/packages/details.slim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/packages/details.slim b/app/views/packages/details.slim index 632d187..d973f51 100644 --- a/app/views/packages/details.slim +++ b/app/views/packages/details.slim @@ -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)