full width search input on mobile devices

This commit is contained in:
Alex Turchyn
2026-07-22 20:32:50 +03:00
committed by Pete Matsyburka
parent a156de5e75
commit 48d595ca81
11 changed files with 73 additions and 50 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
<%= t('submissions') %>
</h2>
</div>
<div class="flex justify-end space-x-2">
<div class="flex justify-end space-x-2 max-md:focus-within:grow <%= 'max-md:grow' if params[:q].present? %>">
<% if params[:q].present? || params[:status].present? || filter_params.present? || @pagy.pages > 1 %>
<%= render 'shared/search_input', title_selector: 'h2' %>
<% end %>