mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-05 02:41:33 +00:00
Added vertical separators for search results.
This commit is contained in:
@@ -3,9 +3,14 @@
|
||||
|
||||
.search-result {
|
||||
min-height: 3em;
|
||||
padding: 15px 0;
|
||||
|
||||
.secondary-info {
|
||||
font-size: 0.8em;
|
||||
color: #b7b7b7;
|
||||
}
|
||||
}
|
||||
|
||||
.with-separator {
|
||||
border-bottom: 1px solid #E0E0E0;
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
.row.full-width
|
||||
.large-4.columns
|
||||
- if @suburb.present?
|
||||
.row.search-result
|
||||
.row.search-result.with-separator
|
||||
.large-12.columns
|
||||
You have searched at:
|
||||
%strong
|
||||
%div= "#{@suburb.name}, #{@suburb.state_name}"
|
||||
- @enterpsises.each do |enterprise|
|
||||
.row.search-result
|
||||
.row.search-result.with-separator
|
||||
.large-12.columns
|
||||
= link_to enterprise.name, shop_front_enterprise_path(enterprise.id)
|
||||
%span.secondary-info= "#{enterprise.city}, #{enterprise.state_name}"
|
||||
|
||||
Reference in New Issue
Block a user