Skip to content

Commit

Permalink
Merge pull request #114 from findify/FI-8130-liquid-styling-bugs
Browse files Browse the repository at this point in the history
Fi 8130 liquid styling bugs
  • Loading branch information
wolff95 authored Sep 18, 2024
2 parents 7391759 + c21fb70 commit 8f2614e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions assets/findify-autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ const initFindifyAutocompleteEvents = () => {
const top = getBottom(input) + 2;
const autocomplete = document.querySelector('.findify-autocomplete');
autocomplete.style.top = `${top}px`;
autocomplete.style.height = `max-content`;
autocomplete.style.maxHeight = `calc(100vh - ${top}px)`;
};

const closeAutocomplete = (e, isEscape) => {
Expand Down
3 changes: 3 additions & 0 deletions assets/findify-filter.css
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,9 @@ button {
outline: none;
}

.findify-price-range-input-container .money {
white-space: nowrap;
}
/* Chrome, Safari, Edge, Opera */
.findify-price-range-input::-webkit-outer-spin-button,
.findify-price-range-input::-webkit-inner-spin-button {
Expand Down
2 changes: 1 addition & 1 deletion assets/findify-sorting.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
right: 0;
top: 100%;
margin: 0;
z-index: 5;
z-index: 2;
}

.findify-sorting.findify-open .findify-sorting-list {
Expand Down
2 changes: 1 addition & 1 deletion sections/findify-product-card.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
, reviews: reviews
, reviews_count: reviews_count
, selected_variant_id: selected_variant_id
-%}
-%}
2 changes: 0 additions & 2 deletions sections/findify-recommendation.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@

<script>
const selector = "#{{ recommendation_id }} .swiper";
const swiper = new Swiper(selector, {
direction: "horizontal",
loop: true,
pagination: {
el: ".swiper-pagination",
type: "bullets",
Expand Down
1 change: 0 additions & 1 deletion snippets/findify-filter-checkbox.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
const filterClickHandler = (e) => {
e.preventDefault();
e.stopPropagation();
document.documentElement.classList.remove('findify-no-scroll');
findify.filters.update({ value, type, name });
};
Expand Down

0 comments on commit 8f2614e

Please sign in to comment.