mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-28 01:53:25 +00:00
Remove useless CSS class .filte-row
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
.small-12.medium-6.columns.text-right
|
||||
|
||||
|
||||
.row.animate-show.filter-row{"ng-show" => "filtersActive"}
|
||||
.row.animate-show{"ng-show" => "filtersActive"}
|
||||
.small-12.columns
|
||||
.row.filter-box
|
||||
.small-12.columns
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
.row
|
||||
= render 'shared/components/filter_controls'
|
||||
|
||||
.row.animate-show.filter-row{"ng-show" => "filtersActive"}
|
||||
.row.animate-show{"ng-show" => "filtersActive"}
|
||||
.small-12.columns
|
||||
.row.filter-box
|
||||
.small-12.large-9.columns
|
||||
|
||||
@@ -161,13 +161,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// filterSelectors directive provides a drop-down that can overlap
|
||||
// content. Ensure that the dropdown appears above the content.
|
||||
.filter-row {
|
||||
position: relative;
|
||||
z-index: 90;
|
||||
}
|
||||
|
||||
.sticky-shop-filters-container {
|
||||
position: sticky;
|
||||
top: $topbar-height;
|
||||
|
||||
@@ -47,7 +47,7 @@ describe "Darkswarm data caching", js: true, caching: true do
|
||||
|
||||
toggle_filters
|
||||
|
||||
within "#hubs .filter-row" do
|
||||
within "#hubs .filter-box" do
|
||||
expect(page).to have_content taxon.name
|
||||
expect(page).to have_content property.presentation
|
||||
end
|
||||
@@ -64,7 +64,7 @@ describe "Darkswarm data caching", js: true, caching: true do
|
||||
visit shops_path
|
||||
|
||||
# Wait for /shops page to load properly before checking for new timestamps
|
||||
expect(page).to_not have_selector ".row.filter-row"
|
||||
expect(page).to_not have_selector ".row.filter-box"
|
||||
|
||||
taxon_timestamp2 = CacheService.latest_timestamp_by_class(Spree::Taxon)
|
||||
expect_cached "views/#{CacheService::FragmentCaching.ams_all_taxons[0]}"
|
||||
@@ -77,7 +77,7 @@ describe "Darkswarm data caching", js: true, caching: true do
|
||||
|
||||
toggle_filters
|
||||
|
||||
within "#hubs .filter-row" do
|
||||
within "#hubs .filter-box" do
|
||||
expect(page).to have_content "Changed Taxon"
|
||||
expect(page).to have_content "Changed Property"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user