tidy up crops#index on a small screen

This commit is contained in:
Brenda Wallace
2019-06-05 22:29:29 +12:00
parent 04d941111b
commit d346ae8e4b

View File

@@ -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