Make the inserter the same width as the other blocks

[MAILPOET-2813]
This commit is contained in:
Pavel Dohnal
2020-04-13 16:04:33 +02:00
committed by Veljko V
parent b4dc4bb6e4
commit 70c12a898b
2 changed files with 6 additions and 0 deletions

View File

@@ -45,3 +45,8 @@
h2 {
font-size: 1.7em;
}
.block-list-appender .block-editor-inserter {
margin: 0 auto;
max-width: 580px; // the same as .wp-block
}

View File

@@ -51,6 +51,7 @@ export default () => {
const editorSettings = {
showInserterHelpPanel: false, // Disable TIPs section in add block pop up
mediaUpload: canUserUpload ? uploadMedia : null,
maxWidth: 580,
__experimentalFetchLinkSuggestions: fetchLinkSuggestions,
};