diff --git a/extensions/blocks/opentable/editor.scss b/extensions/blocks/opentable/editor.scss index 6b5f5b63caaea..7c8c6bdb45c1c 100644 --- a/extensions/blocks/opentable/editor.scss +++ b/extensions/blocks/opentable/editor.scss @@ -5,6 +5,8 @@ */ .wp-block-jetpack-opentable { + // needed so that the block preview doesn't have empty space + display: inline-block; position: relative; .components-base-control { @@ -109,11 +111,3 @@ font-weight: bold; } } - -// Display "table" is used because the preview container should only wrap the content and not take the full width. -// Both selector rules needed because the block wrapper used in Gutenberg was removed in v7.3 -// @link https://github.com/WordPress/gutenberg/pull/19593 -.block-editor-block-preview__content [data-type='jetpack/opentable'] [data-block], -.block-editor-block-preview__content [data-type='jetpack/opentable'][data-block] { - display: table; -}