From c2b92fd4f5d25b2dace597b950bde087dcd7faf2 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Thu, 19 Jun 2025 20:42:11 -0500 Subject: [PATCH] DRY this up --- app/assets/stylesheets/popup.css | 6 ++++++ app/views/cards/assignments/new.html.erb | 2 +- app/views/cards/display/perma/_collection.html.erb | 2 +- app/views/cards/index/_closure_filter.html.erb | 2 +- app/views/cards/index/_collections_filter.html.erb | 2 +- app/views/cards/index/_header.html.erb | 12 ++++++------ app/views/cards/index/_workflow_filter.html.erb | 2 +- app/views/cards/show/_collections.html.erb | 2 +- app/views/cards/show/_header.html.erb | 8 ++++---- app/views/cards/taggings/new.html.erb | 2 +- app/views/events/_filter.html.erb | 10 +++++----- app/views/events/filter/_custom_collections.html.erb | 2 +- app/views/filters/_assignees.html.erb | 2 +- app/views/filters/_creators.html.erb | 2 +- app/views/filters/_indexed_by.html.erb | 2 +- app/views/filters/_stages.html.erb | 2 +- app/views/filters/_tags.html.erb | 2 +- 17 files changed, 34 insertions(+), 28 deletions(-) diff --git a/app/assets/stylesheets/popup.css b/app/assets/stylesheets/popup.css index 46a15941d..75ef7f5d3 100644 --- a/app/assets/stylesheets/popup.css +++ b/app/assets/stylesheets/popup.css @@ -122,6 +122,12 @@ } .popup__list { + display: flex; + flex-direction: column; + inline-size: 100%; + margin: 0; + max-inline-size: 100%; + padding: 0; row-gap: 2px; } diff --git a/app/views/cards/assignments/new.html.erb b/app/views/cards/assignments/new.html.erb index a5abad19c..9ab019cac 100644 --- a/app/views/cards/assignments/new.html.erb +++ b/app/views/cards/assignments/new.html.erb @@ -12,7 +12,7 @@ type: "search", autocorrect: "off", autocomplete: "off", data: { "1p-ignore": "true", filter_target: "input", action: "input->filter#filter" } %> <% end %> - <% end %> Tags -