mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-26 10:45:04 -04:00
Tidy harvest#index
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
flex-wrap: wrap;
|
||||
|
||||
.card {
|
||||
max-width: 200px;
|
||||
width: 200px;
|
||||
margin: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.card
|
||||
= link_to harvest do
|
||||
= image_tag harvest_image_path(harvest, full_size: true), alt: harvest, class: 'img-fluid card-img-top'
|
||||
.card-body.text-center
|
||||
= image_tag harvest_image_path(harvest, full_size: true), alt: harvest, class: 'img-card'
|
||||
.card-body
|
||||
%h5
|
||||
%strong= link_to "#{harvest.crop} #{harvest.plant_part}", harvest
|
||||
%span.badge.badge-pill.badge-info= link_to harvest.plant_part, harvest.plant_part
|
||||
|
||||
Reference in New Issue
Block a user