Smush v3.20.0 breaks layout
-
Hi there,
On a website I’ve had Smush installed and working for years, page layout is broken with the latest update (v3.18.1 is all good, layout has issues on v3.20.0). The problem on my site is that on smaller browser windows, content is not contained horizontally within the viewport.
When I comment out the following CSS that is inserted to the top of the page, my layout is fixed:
.lazyload, .lazyloading { --smush-placeholder-width: 100px; --smush-placeholder-aspect-ratio: 1/1; width: var(--smush-placeholder-width) !important; aspect-ratio: var(--smush-placeholder-aspect-ratio) !important; }This CSS is not present with Smush v3.18.1. Specifically, the line that causes an issue for me is “width: …”.
I don’t believe I can override this with my own CSS, so ATM I’ve rolled back to v3.18.1. But obviously I’d like to get back on to the latest version of Smush.
Is there a setting or some way I can avoid this CSS from being injected? Or would this need a patch in the plugin?
Thanks a lot.
You must be logged in to reply to this topic.