Drop use of h5

This commit is contained in:
Daniel O'Connor
2024-01-20 04:28:10 +00:00
parent 756d35f29b
commit d663d0ffa3
2 changed files with 4 additions and 3 deletions

View File

@@ -19,7 +19,7 @@
padding-bottom: 0;
}
h5.crop-sci-name {
.crop-sci-name {
background-color: $beige;
color: $black;
font-size: 0.7em;

View File

@@ -8,5 +8,6 @@
.text
%h3.crop-name= link_to crop.name, crop_path(slug: crop.slug)
%h5.crop-sci-name
= crop.scientific_names.first
- if crop.scientific_names.any?
%div.crop-sci-name
= crop.scientific_names.first