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 %> -