Skip to content

Commit

Permalink
Editor: Fix and align collapsing logic for "Save Draft" and "Saved" b…
Browse files Browse the repository at this point in the history
…utton states. (#17506)
  • Loading branch information
epiqueras committed Sep 20, 2019
1 parent 2bc8ba3 commit 95e769d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion packages/editor/src/components/post-saved-state/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,5 @@ export default compose( [
onSave: dispatch( 'core/editor' ).savePost,
} ) ),
withSafeTimeout,
withViewportMatch( { isLargeViewport: 'medium' } ),
withViewportMatch( { isLargeViewport: 'small' } ),
] )( PostSavedState );
6 changes: 0 additions & 6 deletions packages/editor/src/components/post-saved-state/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,4 @@
// This needs specificity to override inherited styles.
.edit-post-header .edit-post-header__settings .components-button.editor-post-save-draft {
margin: 0;

@include break-small() {
.dashicon {
display: none;
}
}
}

0 comments on commit 95e769d

Please sign in to comment.