Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish rearranged header, improve mobile #2897

Merged
merged 1 commit into from Oct 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions editor/header/saved-state/style.scss
Expand Up @@ -12,6 +12,7 @@
&.button-link {
text-decoration: underline;
color: $blue-wordpress;
margin-right: $item-spacing; // needs specificity to override core CSS bleed

&:focus {
outline: none;
Expand Down
16 changes: 13 additions & 3 deletions editor/header/style.scss
Expand Up @@ -88,6 +88,14 @@
margin: 0 0 0 auto;
}

// hide all action buttons except the inserter on mobile
.editor-header__content-tools > .components-button {
display: none;

@include break-small() {
display: inline-flex;
}
}

.editor-header__content-tools,
.editor-header__settings {
Expand Down Expand Up @@ -123,8 +131,10 @@
left: 1px;
}

&.editor-publish-button {
height: 33px;
line-height: 32px;
@include break-medium() {
&.editor-publish-button {
height: 33px;
line-height: 32px;
}
}
}