I was developing a staging site with bricks and it was working fine. Today I find out that the mini-cart icon toggle is no longer working. I try to investigate by disabling all plugins and removing any custom code in functions.php but still the mini-cart icon don’t show the item and woocommerce JS may be not working. Hosting has no caching plugin. Tested it in Firefox and Chromium browser and it is the same, not working.
The same is happening with my under-development site, but only for tablet and mobile devices.
Check this Facebook post, @davidovmihail provides one solution.
This is how I solved my problem.
But yours is cart element showing it in correct way in tab or mobile view and that need CSS modification with media query.