From 1ea9fa9dd33c8578b60da691579b35555ac6996c Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Mon, 22 Sep 2025 14:27:58 -0500 Subject: [PATCH] Space them like columns with separation for current collection --- app/assets/stylesheets/card-columns.css | 2 +- app/views/cards/index/_columns.html.erb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/card-columns.css b/app/assets/stylesheets/card-columns.css index 46d91dcea..4e711efe6 100644 --- a/app/assets/stylesheets/card-columns.css +++ b/app/assets/stylesheets/card-columns.css @@ -64,7 +64,7 @@ .header__title { font-style: oblique; - line-height: 1.2; + line-height: 1; text-align: start; text-transform: uppercase; } diff --git a/app/views/cards/index/_columns.html.erb b/app/views/cards/index/_columns.html.erb index 3437b118a..70727ef0b 100644 --- a/app/views/cards/index/_columns.html.erb +++ b/app/views/cards/index/_columns.html.erb @@ -3,13 +3,13 @@
-

+

<%= @user_filtering.selected_collections_label %>

<% user_filtering.collections.limit(5).last(4).each do |collection| %>
- <%= link_to collection.name, cards_path(collection_ids: [ collection ]), class: "txt-subtle txt-normal" %> + <%= link_to collection.name, cards_path(collection_ids: [ collection ]), class: "btn btn--plain font-weight-black txt-subtle txt-normal" %>
<% end %>