From 19c8cb370c28edd3c4cbd98dd0d121504cd149b1 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 6 Feb 2025 16:27:33 -0600 Subject: [PATCH] Fix alignment and truncation --- app/assets/stylesheets/filters.css | 1 + app/views/filters/_dialog.html.erb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/filters.css b/app/assets/stylesheets/filters.css index 3d31519d7..e22aab019 100644 --- a/app/assets/stylesheets/filters.css +++ b/app/assets/stylesheets/filters.css @@ -13,6 +13,7 @@ inline-size: 100%; justify-content: space-between; + text-align: start; span { overflow: hidden; diff --git a/app/views/filters/_dialog.html.erb b/app/views/filters/_dialog.html.erb index 897703804..43ddf7757 100644 --- a/app/views/filters/_dialog.html.erb +++ b/app/views/filters/_dialog.html.erb @@ -62,7 +62,9 @@
  • In Project
  • - <%= button_tag "All Collections", type: :button, class: "btn filter__button", data: { action: "filter-form#clearCategory", filter_form_name_param: "bucket_ids[]" } %> + <%= button_tag type: :button, class: "btn filter__button", data: { action: "filter-form#clearCategory", filter_form_name_param: "bucket_ids[]" } do %> + All Collections + <% end %>
  • <% Current.user.buckets.order(:name).each do |bucket| %>