From d346ae8e4b352fdaee3bf3751afe86babc9f607a Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Wed, 5 Jun 2019 22:29:29 +1200 Subject: [PATCH] tidy up crops#index on a small screen --- app/views/crops/index.html.haml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/crops/index.html.haml b/app/views/crops/index.html.haml index f405e4645..b29ab72c0 100644 --- a/app/views/crops/index.html.haml +++ b/app/views/crops/index.html.haml @@ -29,9 +29,11 @@ .pagination= render 'layouts/pagination', collection: @crops -.row - - @crops.each do |crop| - .col-md-2= render 'crops/thumbnail', crop: crop +.crops + .row + - @crops.each do |crop| + .col-6.col-md-3= render 'crops/thumbnail', crop: crop + .pagination= render 'layouts/pagination', collection: @crops