diff --git a/packages/editor/src/components/post-preview-button/index.js b/packages/editor/src/components/post-preview-button/index.js index 9db6a993b6aaae..5365c3887b0881 100644 --- a/packages/editor/src/components/post-preview-button/index.js +++ b/packages/editor/src/components/post-preview-button/index.js @@ -126,19 +126,23 @@ export class PostPreviewButton extends Component { onRequestClose={ this.closePreviewWindow } className="editor-block-preview" > - - - - + > + } diff --git a/packages/editor/src/components/post-preview-button/style.scss b/packages/editor/src/components/post-preview-button/style.scss new file mode 100644 index 00000000000000..48cf9728877613 --- /dev/null +++ b/packages/editor/src/components/post-preview-button/style.scss @@ -0,0 +1,18 @@ +.editor-block-preview { + @include break-small() { + top: 5%; + right: 5%; + bottom: 5%; + left: 5%; + transform: none; + } +} + +.editor-block-preview__controls { + margin: $grid-size-large 0; +} + +.editor-block-preview__frame { + display: flex; + justify-content: center; +} diff --git a/packages/editor/src/style.scss b/packages/editor/src/style.scss index 949f751bd72af5..a085ac3217b103 100644 --- a/packages/editor/src/style.scss +++ b/packages/editor/src/style.scss @@ -9,6 +9,7 @@ @import "./components/post-last-revision/style.scss"; @import "./components/post-locked-modal/style.scss"; @import "./components/post-permalink/style.scss"; +@import "./components/post-preview-button/style.scss"; @import "./components/post-publish-panel/style.scss"; @import "./components/post-saved-state/style.scss"; @import "./components/post-taxonomies/style.scss";