Skip to content

Commit

Permalink
Top toolbar: adjust tab order
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jan 14, 2020
1 parent 5338c47 commit a6bfb67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/edit-post/src/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ function Header() {

return (
<div className="edit-post-header">
<div className="edit-post-header__toolbar">
<FullscreenModeClose />
<HeaderToolbar />
</div>
<div className="edit-post-header__settings">
{ ! isPublishSidebarOpened && (
// This button isn't completely hidden by the publish sidebar.
Expand Down Expand Up @@ -77,6 +73,10 @@ function Header() {
<PinnedPlugins.Slot />
<MoreMenu />
</div>
<div className="edit-post-header__toolbar">
<FullscreenModeClose />
<HeaderToolbar />
</div>
</div>
);
}
Expand Down
1 change: 1 addition & 0 deletions packages/edit-post/src/components/header/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
background: $white;
display: flex;
flex-wrap: wrap;
flex-direction: row-reverse;
justify-content: space-between;
align-items: center;
// The header should never be wider than the viewport, or buttons might be hidden. Especially relevant at high zoom levels. Related to https://core.trac.wordpress.org/ticket/47603#ticket.
Expand Down

0 comments on commit a6bfb67

Please sign in to comment.