From c1ccf041d52a6f387c015770263c3350ee9cfe85 Mon Sep 17 00:00:00 2001 From: Marty Helmick Date: Fri, 22 Nov 2019 01:57:31 -0500 Subject: [PATCH] Remove max-width setting on image-block (#14911) 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; }` --- packages/block-library/src/image/style.scss | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/block-library/src/image/style.scss b/packages/block-library/src/image/style.scss index 01356391e9cfa..26f94d57739c8 100644 --- a/packages/block-library/src/image/style.scss +++ b/packages/block-library/src/image/style.scss @@ -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;