saltnpixels / ignition

The Starter Theme that Could
76 stars 13 forks source link

Gutenberg insert image "full width" not 100% width #2

Closed thetwopct closed 5 years ago

thetwopct commented 5 years ago

I've noticed that when inserting an image via Gutenberg and then selecting its alignment as "full width" the image doesn't stretch all the way across the page:

new site just another wordpress site 2019-01-04 18-14-38

I've been trying to work out why, seems to be something to do with max-width of the wp-block-image

.wp-block-image { max-width: 100%; }

saltnpixels commented 5 years ago

Gutenberg keeps updating and changing things. They add css sometimes that messes things up! I have made a fix for this as well as some other fixes. Thanks for reporting this!!