diff --git a/app/assets/stylesheets/events.css b/app/assets/stylesheets/events.css index 219e18292..cc35fb77c 100644 --- a/app/assets/stylesheets/events.css +++ b/app/assets/stylesheets/events.css @@ -60,10 +60,6 @@ .events__popup { margin-block-start: var(--block-space-double); - - .events__index-header:has(&) { - position: relative; - } } .event { diff --git a/app/presenters/collection_filter_presenter.rb b/app/presenters/collection_filter_presenter.rb index 730e38e83..507069218 100644 --- a/app/presenters/collection_filter_presenter.rb +++ b/app/presenters/collection_filter_presenter.rb @@ -7,9 +7,9 @@ class CollectionFilterPresenter def filter_text if selected_collection_ids.present? - "Showing activity for #{selected_collection_names_bold}".html_safe + "Activity in #{selected_collection_names_bold}".html_safe else - "Showing everything" + "Activity in all collections" end end diff --git a/app/views/events/_filter.html.erb b/app/views/events/_filter.html.erb index 5b8f3f253..74e25af7a 100644 --- a/app/views/events/_filter.html.erb +++ b/app/views/events/_filter.html.erb @@ -7,28 +7,46 @@ -
- + <%= icon_tag "filter" %> Collections +
- <%= form_with url: events_path, method: :get, class: "flex flex-column full-width popup__list", + +
+ + <%= form_with url: events_path, method: :get, class: "flex flex-column max-width popup__list full-width", data: { controller: "form" } do |form| %> - <%#= link_to "Show everything", events_path(clear_filter: true), class: "btn popup__item txt-nowrap" %> - -
+ + <% end %> <% @collections.each do |collection| %> -