Please note that using this CSS is going to override all images that had the height attribute set, as mentioned in my post on the support ticket. Specifically, any images added in Gutenburg that had the height altered via the Image dimensions setting will be overridden by implementing this “fix”.
One quick way to overcome this would be to also add this style in your CSS .wp-block-image img { height: unset; }
. But this is also wrong because it will reverse the “fix” on any image that didn’t already have the height set (the first problem returns). You’ll be required to manually update the height for each image in all of your posts.
Best of luck.