Very long could not understand why I have items with the term in firefox, which are below other elements still overlap them. In other browsers everything was normal.

After a few hours of picking in the code I finally came to the conclusion that it depended on the number of items in the future and when I began alternately to remove from it elements at some point everything fell into place. It turns out that firefox is working correctly only with a certain number of items in the future. To be more precise. It works with no more than a hundred elements.

It breaks down the whole concept of my project. Has anyone faced this problem? Are there any methods of its decision?