Skip to content

Commit

Permalink
Adds comment for explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecoder committed Feb 1, 2020
1 parent a5c67f8 commit e0e6bbf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion extensions/blocks/eventbrite/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
}
}

.block-editor-block-preview__content [data-type='jetpack/eventbrite'] div[data-block],
// Display "table" is used because the button 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/eventbrite'] [data-block],
.block-editor-block-preview__content [data-type='jetpack/eventbrite'][data-block] {
display: table;
}
Expand Down
5 changes: 4 additions & 1 deletion extensions/blocks/opentable/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@
}
}

.block-editor-block-preview__content [data-type='jetpack/opentable'] div[data-block],
// 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;
}

0 comments on commit e0e6bbf

Please sign in to comment.