From 003aacd32d3a98cf80b99c76ef5a11712c18a271 Mon Sep 17 00:00:00 2001 From: rozhnovaYana Date: Mon, 16 Sep 2024 11:37:41 +0300 Subject: [PATCH] fixed OOB bugs --- assets/findify-autocomplete.js | 2 ++ assets/findify-filter.css | 3 +++ assets/findify-sorting.css | 2 +- sections/findify-recommendation.liquid | 2 -- snippets/findify-filter-checkbox.liquid | 1 - 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/assets/findify-autocomplete.js b/assets/findify-autocomplete.js index c4c6eaa..8c394c5 100644 --- a/assets/findify-autocomplete.js +++ b/assets/findify-autocomplete.js @@ -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) => { diff --git a/assets/findify-filter.css b/assets/findify-filter.css index 10230ce..f8aeeb5 100644 --- a/assets/findify-filter.css +++ b/assets/findify-filter.css @@ -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 { diff --git a/assets/findify-sorting.css b/assets/findify-sorting.css index 5d1a1c0..37f67a7 100644 --- a/assets/findify-sorting.css +++ b/assets/findify-sorting.css @@ -55,7 +55,7 @@ right: 0; top: 100%; margin: 0; - z-index: 5; + z-index: 2; } .findify-sorting.findify-open .findify-sorting-list { diff --git a/sections/findify-recommendation.liquid b/sections/findify-recommendation.liquid index 29df894..eb8ebd0 100644 --- a/sections/findify-recommendation.liquid +++ b/sections/findify-recommendation.liquid @@ -19,10 +19,8 @@