Skip to content

Commit

Permalink
Add README stub.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and retrofox committed Aug 2, 2019
1 parent af648b1 commit 2cc1264
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-editor/src/components/block-preview/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
// The preview component measures the pixel width of this item, so as to calculate the scale factor.
// But without this baseline width, it collapses to 0.
width: 100%;

// This ensures that content evne if it overlaps the preview container is properly clipped.
// This is mostly for previews that include arbitrary content.
overflow: hidden;
}

.block-editor-block-preview__content {
Expand Down

0 comments on commit 2cc1264

Please sign in to comment.