mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-03 02:21:33 +00:00
Introduce relaxed, regular and condensed button for specify height
This commit is contained in:
@@ -10,4 +10,4 @@
|
||||
= select_tag :category_id, options_for_select(category_options, category_id), include_blank: t('.all_categories'), "data-controller": "tom-select", "data-tom-select-options-value": '{ "plugins": [] }', class: "fullwidth"
|
||||
.submit
|
||||
.search-button
|
||||
= button_tag t(".search"), class: "secondary icon-search"
|
||||
= button_tag t(".search"), class: "secondary icon-search relaxed"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%div
|
||||
= t(".pagination.total_html", total: pagy.count, from: pagy.from, to: pagy.to)
|
||||
- if search_term.present? || producer_id.present? || category_id.present?
|
||||
%a{ href: "#", class: "button disruptive medium", data: { reflex: "click->products#clear_search" } }
|
||||
%a{ href: "#", class: "button disruptive condensed", data: { reflex: "click->products#clear_search" } }
|
||||
= t(".pagination.clear_search")
|
||||
%div.with-dropdown
|
||||
= t(".pagination.per_page.show")
|
||||
|
||||
Reference in New Issue
Block a user