From dc5c8d17a4f5c2a0177691ede38ecb0c141d1620 Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Mon, 2 Jun 2025 15:49:44 -0500 Subject: [PATCH] Handle these special case options a different way --- app/assets/stylesheets/popup.css | 3 +++ app/views/cards/index/_collections_filter.html.erb | 4 ++-- app/views/events/filter/_all_collections_option.html.erb | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/popup.css b/app/assets/stylesheets/popup.css index 8a93f8f53..cbd65028e 100644 --- a/app/assets/stylesheets/popup.css +++ b/app/assets/stylesheets/popup.css @@ -44,6 +44,8 @@ @media (any-hover: hover) { &:hover { + --hover-size: 0; + background: var(--color-selected); } } @@ -94,6 +96,7 @@ @media (any-hover: hover) { &:where(:not(:active):hover) { + --hover-size: 0; --btn-background: var(--color-selected); } } diff --git a/app/views/cards/index/_collections_filter.html.erb b/app/views/cards/index/_collections_filter.html.erb index 0c92b8a38..8fd1df409 100644 --- a/app/views/cards/index/_collections_filter.html.erb +++ b/app/views/cards/index/_collections_filter.html.erb @@ -12,8 +12,8 @@ <% end %> <% end %> <% elsif Current.user.collections.many? %> - <%= link_to cards_path(filter.as_params.except(:collection_ids)), class: "popup__group flex align-center", style: "--hover-size: 0", data: { filter_target: "item", navigable_list_target: "item" } do %> -