Created
December 23, 2020 20:01
-
-
Save fgeierst/fb1a9af4e0d215fe965e6741dcdfa2f1 to your computer and use it in GitHub Desktop.
Fix block images aspect ratio bug (after Wordpress update 5.6)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* fix block images aspect ratio bug */ | |
.wp-block-image img, .wp-block-image svg { | |
max-width:100%; | |
height:auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment