Full width Gutenberg editor

// Full width Gutenberg editor
add_action('admin_head', 'editor_full_width_gutenberg');
function editor_full_width_gutenberg() {
  echo '<style>
    .block-editor__container .wp-block {
        max-width: none !important;
	}
	.editor-styles-wrapper {
	    padding: 5% !important;
	} 
    /*code editor*/
    .edit-post-text-editor__body,edit-post-visual-editor {
    	max-width: none !important;	
    	margin-left: 5%;
    	margin-right: 5%;
    }
  </style>';
}
// add styles to gutenberg
function gutenbergtheme_editor_styles() {
    wp_enqueue_style( 'gutenbergtheme-blocks-style', get_template_directory_uri() . '/blocks.css');
}
add_action( 'enqueue_block_editor_assets', 'gutenbergtheme_editor_styles' );