Gutenberg blocks not full width

I am having an issue where an image block in Gutenberg editor is not the full with of the page even though I have selected "Full Width" in the back-end. Is there a way to fix this?

Image for reference:

Topic block-editor content-width Wordpress

Category Web


.wp-block {
 max-width: unset;
}

If it is your custom block add to editor_style .

If not include css file with hook enqueue_block_editor_assets

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.