Reply To: Results box height uncontrolled


Ernest Marcinko


It's because the search is placed into a fixed header element, and once the scrolling finishes on the visible parts of the results box, it continues on the document body, but since the search is fixed with the header, it will never scroll to the bottom of it.

I believe the best solution would be this custom CSS:

@media screen and (max-height: 768px) {
    .asp_r .results {
        max-height: 60vh !important;

It will limit the result box maximum height on screen heights smaller than 768 pixels to the 60% of the viewport height, thus it will always resize to fit in.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)