From 6155a17ecdbfcb2ce442922014af625c2fd552a7 Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Mon, 15 Mar 2021 14:56:07 +0000 Subject: [PATCH] Verse block: Add support for the padding to the verse block (#29820) * Verse block: Add support for the padding to the verse block --- packages/block-library/src/verse/block.json | 5 ++++- packages/block-library/src/verse/editor.scss | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/block-library/src/verse/block.json b/packages/block-library/src/verse/block.json index be3cb69adf0bfd..2156e7654aa0a9 100644 --- a/packages/block-library/src/verse/block.json +++ b/packages/block-library/src/verse/block.json @@ -17,7 +17,10 @@ "supports": { "anchor": true, "__experimentalFontFamily": true, - "fontSize": true + "fontSize": true, + "spacing": { + "padding": true + } }, "style": "wp-block-verse", "editorStyle": "wp-block-verse-editor" diff --git a/packages/block-library/src/verse/editor.scss b/packages/block-library/src/verse/editor.scss index f863f5e2556f71..30e577fbae1cad 100644 --- a/packages/block-library/src/verse/editor.scss +++ b/packages/block-library/src/verse/editor.scss @@ -1,4 +1,3 @@ pre.wp-block-verse { color: $gray-900; - padding: 1em; }