Skip to content

Commit

Permalink
Remove max-width setting on image-block (#14911)
Browse files Browse the repository at this point in the history
This seems like a job for the align classes. 
I'm not seeing `max-width` set for any other blocks.

Also, it overrides my theme's   `article > * { max-width: $width; }`
  • Loading branch information
m-e-h authored and draganescu committed Nov 22, 2019
1 parent 9c4cf06 commit c1ccf04
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/block-library/src/image/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.wp-block-image {
max-width: 100%;

// The image block is in a `figure` element, and many themes zero this out.
// This rule explicitly sets it, to ensure at least some bottom-margin in the flow.
margin-bottom: 1em;
Expand Down

0 comments on commit c1ccf04

Please sign in to comment.