diff --git a/blocks/library/image/style.scss b/blocks/library/image/style.scss index 3725eab48f8149..bd22c450854ce4 100644 --- a/blocks/library/image/style.scss +++ b/blocks/library/image/style.scss @@ -1,4 +1,5 @@ .wp-block-image { + width: fit-content; figcaption { margin-top: 0.5em; color: $dark-gray-300; diff --git a/editor/components/block-list/style.scss b/editor/components/block-list/style.scss index 873942be9d8f04..54d9b7b6c1b833 100644 --- a/editor/components/block-list/style.scss +++ b/editor/components/block-list/style.scss @@ -273,21 +273,6 @@ } } - // Apply max-width to floated items that have no intrinsic width, like Cover Image or Gallery - &[data-align="left"], - &[data-align="right"] { - > .editor-block-list__block-edit { - max-width: 360px; - width: 100%; - } - - // reset when data-resized - &[data-resized="true"] > .editor-block-list__block-edit { - max-width: none; - width: auto; - } - } - // Left &[data-align="left"] { .editor-block-list__block-edit { // This is in the editor only, on the frontend, the img should be floated