Introduce a means to hide sections for filtering only
This commit is contained in:
@@ -111,6 +111,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.nav__section--secret:not([data-is-filtering]) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav__header {
|
||||
--actions-width: 2rem;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%= collapsible_nav_section "Quick filters", data: { hide_when_empty: true } do %>
|
||||
<%= collapsible_nav_section "Quick filters", class: "nav__section popup__section nav__section--secret" do %>
|
||||
<%= filter_place_menu_item cards_path(indexed_by: :golden), "Golden cards", "filter" %>
|
||||
<%= filter_place_menu_item cards_path(indexed_by: :stalled), "Stalled cards", "filter" %>
|
||||
<%= filter_place_menu_item cards_path(indexed_by: :postponing_soon), "Cards closing soon", "filter" %>
|
||||
|
||||
Reference in New Issue
Block a user