Skip to content

Commit

Permalink
Update class namespaces to match package
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave authored and retrofox committed Aug 2, 2019
1 parent 3ad0bc1 commit 3a15d94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/components/block-preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ export function BlockPreview( { blocks, settings, srcWidth, srcHeight } ) {
}, [] );

return (
<div ref={ previewRef } style={ previewAspect } className="editor-block-preview__container" aria-hidden>
<Disabled style={ previewDimensions } className="editor-block-preview__content block-editor-block-preview__content editor-styles-wrapper">
<div ref={ previewRef } style={ previewAspect } className="block-editor-block-preview__container" aria-hidden>
<Disabled style={ previewDimensions } className="block-editor-block-preview__content editor-styles-wrapper">
<BlockEditorProvider
value={ castArray( blocks ) }
settings={ settings }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}

// These rules ensure the preview scales smoothly regardless of the container size.
.editor-block-preview__container {
.block-editor-block-preview__container {
// In the component, a top padding is provided as an inline style to provid an aspect-ratio.
// This positioning enables the content to sit on top of that padding to fit.
position: relative;
Expand Down

0 comments on commit 3a15d94

Please sign in to comment.