Skip to content

Commit

Permalink
Fix: Remove browser default border for iframe in the editor (#47987)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-hamano authored Feb 13, 2023
1 parent a0ef113 commit 1eea892
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-library/src/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,8 @@
* These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper.
* This allows us to create normalization styles that are easily overridden by editor styles.
*/

// Remove the browser default border for iframe in Custom HTML block, Embed block, etc.
.editor-styles-wrapper iframe:not([frameborder]) {
border: 0;
}

1 comment on commit 1eea892

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 1eea892.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4161697904
📝 Reported issues:

Please sign in to comment.