Keep three even columns on the home page

The planting, harvest and activity columns were .col-xl-4.col. Bootstrap 4 wrapped
the next row after three even columns at every width below the site's xl
breakpoint; Bootstrap 5's .col let the seeds column squeeze onto the same row.
Say what was meant: full width on phones, thirds from md up.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Brenda WallaceandClaude Sonnet 5 committed 2026-09-20 18:15:08 +12:00
1 parent 6205f3ba46
commit 249881291d
1 file changed
+3 -3
+3 -3
View File
@@ -35,17 +35,17 @@
%h2= t('.recently_added')
%p.card-body
!= CropSearchService.recent(30).map { |c| link_to(c['name'], crop_path(slug: c['slug'])) }.join(", ")
.col-xl-4.col
.col-12.col-md-4
%section.plantings
= cute_icon
=render 'plantings'
%p.text-end= link_to "#{t('home.plantings.view_all')} »", plantings_path, class: 'btn w-100'
.col-xl-4.col
.col-12.col-md-4
%section.harvests
= cute_icon
= render 'harvests'
%p.text-end= link_to "#{t('home.harvests.view_all')} »", harvests_path, class: 'btn w-100'
.col-xl-4.col
.col-12.col-md-4
%section.activities
= cute_icon
= render 'activities'