diff --git a/app/assets/stylesheets/alt_styles/_index.sass b/app/assets/stylesheets/alt_styles/_index.sass index 68a7b391..d40d2148 100644 --- a/app/assets/stylesheets/alt_styles/_index.sass +++ b/app/assets/stylesheets/alt_styles/_index.sass @@ -1,8 +1,11 @@ body.alt_styles-index + .alt-styles-header + margin-top: 1em + margin-bottom: .5em + .alt-styles-list list-style: none display: flex - justify-content: center flex-wrap: wrap gap: 1.5em diff --git a/app/views/alt_styles/index.html.haml b/app/views/alt_styles/index.html.haml index 34369c76..cf31f5d1 100644 --- a/app/views/alt_styles/index.html.haml +++ b/app/views/alt_styles/index.html.haml @@ -14,5 +14,5 @@ may change someday, but probably not soon, sorry!) - @alt_styles.group_by(&:species).each do |species, species_styles| - %h2= species.human_name + %h2.alt-styles-header= species.human_name %ul.alt-styles-list= render partial: "alt_style", collection: species_styles