mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-29 20:25:09 -04:00
Fixing planting wrapping issue
This commit is contained in:
@@ -74,7 +74,7 @@ p.stats
|
||||
flex: none
|
||||
flex-wrap: wrap
|
||||
|
||||
.seeds-row
|
||||
.card-row
|
||||
display: grid
|
||||
grid-template-columns: 50% 50%
|
||||
grid-gap: 25px
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
= page_entries_info @plantings
|
||||
= will_paginate @plantings
|
||||
|
||||
.row
|
||||
.card-row
|
||||
- unless @plantings.empty?
|
||||
- @plantings.each.with_index do |planting|
|
||||
.col-xs-12.col-lg-6
|
||||
.card
|
||||
= render partial: "plantings/card", locals: { planting: planting }
|
||||
|
||||
.pagination
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
= page_entries_info @seeds
|
||||
= will_paginate @seeds
|
||||
|
||||
.seeds-row
|
||||
.card-row
|
||||
- unless @seeds.empty?
|
||||
- @seeds.each do |seed|
|
||||
.seedcard
|
||||
|
||||
Reference in New Issue
Block a user