Add a navigation hint, make "All collections" link navigate like the others
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<%= tag.div class: "btn popup__item min-width flex-item-grow" do %>
|
||||
<span class="overflow-ellipsis">All collections</span>
|
||||
<% end %>
|
||||
<span class="translucent flex-item-no-shrink"> ›</span>
|
||||
<span class="txt-ink translucent flex-item-no-shrink"><span class="txt-x-small txt-uppercase">GO TO</span> ›</span>
|
||||
<% end %>
|
||||
|
||||
<% Current.user.collections.order(:name).each do |collection| %>
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<%= link_to events_path(clear_filter: true), class: "popup__group flex align-center", style: "--hover-size: 0" do %>
|
||||
<div class="popup__group flex align-center" style="--hover-size: 0">
|
||||
<div class="btn txt-xx-small flex-item-no-shrink">
|
||||
<%= check_box_tag "filter_collections", nil, filter.collections.blank?, class: "form-checkbox" %>
|
||||
<%= link_to events_path(clear_filter: true), style: "--hover-size: 0" do %>
|
||||
<%= check_box_tag "filter_collections", nil, filter.collections.blank?, class: "form-checkbox" %>
|
||||
<% end %>
|
||||
|
||||
<span class="for-screen-reader">
|
||||
See everything in all collections
|
||||
@@ -8,8 +10,8 @@
|
||||
<%= icon_tag "check", size: 18, class: "checked" %>
|
||||
</div>
|
||||
|
||||
<%= tag.div class: "btn popup__item min-width flex-item-grow" do %>
|
||||
<%= link_to cards_path(filter.as_params.except(:collection_ids)), class: "btn popup__item min-width flex-item-grow" do %>
|
||||
<span class="overflow-ellipsis">All collections</span>
|
||||
<% end %>
|
||||
<span class="translucent flex-item-no-shrink"> ›</span>
|
||||
<% end %>
|
||||
<span class="txt-ink translucent flex-item-no-shrink"><span class="txt-x-small txt-uppercase">GO TO</span> ›</span>
|
||||
</div>
|
||||
Reference in New Issue
Block a user