Skip to content

Commit

Permalink
Improve mode switcher on mobile.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen committed Jun 9, 2017
1 parent 49c34b7 commit 8c1147c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions editor/header/mode-switcher/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@
z-index: z-index( '.editor-mode-switcher .dashicon' );
margin-left: -24px;
margin-top: -1px;

display: none;

@include break-small {
display: block;
}
}

&:hover,
Expand Down
1 change: 0 additions & 1 deletion editor/inserter/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@

left: 0;
right: 0;
//height: calc( 100vh - #{ $admin-bar-height-big + $header-height } );

// inserter becomes popup
@include break-medium {
Expand Down

0 comments on commit 8c1147c

Please sign in to comment.