Skip to content

Commit

Permalink
Merge pull request #5548 from nebulab/rainerd/admin/improve-filter-to…
Browse files Browse the repository at this point in the history
…olbar-responsiveness

[Admin] Enhancements to filter toolbar and dropdown visibility
  • Loading branch information
rainerdema authored Dec 13, 2023
2 parents a0f70db + aebb511 commit db83d52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<% end %>

<% if @search.filters.any? %>
<%= render component("ui/table/toolbar").new("data-#{stimulus_id}-target": "filterToolbar", hidden: initial_mode != "search") do %>
<%= render component("ui/table/toolbar").new("data-#{stimulus_id}-target": "filterToolbar", hidden: initial_mode != "search", class: "flex-wrap") do %>
<% @search.filters.each_with_index do |filter, index| %>
<%= render_ransack_filter_dropdown(filter, index) %>
<% end %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
rounded-md shadow-lg
bg-white
ring-1 ring-black ring-opacity-5
z-10
">
<div class="relative">
<% if @selections.size > 6 %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def call
content,
**@options,
class: "
h-14 p-2 bg-white border-b border-gray-100
min-h-14 p-2 bg-white border-b border-gray-100
justify-start items-center gap-2
visible:flex hidden:hidden
rounded-t-lg
Expand Down

0 comments on commit db83d52

Please sign in to comment.