Skip to content

Commit

Permalink
Add padding for nav screen. (#31583)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored May 10, 2021
1 parent 7552888 commit 590520b
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/edit-navigation/src/components/layout/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
}

.edit-navigation-layout__content-area {
// Add some margin above the fixed mobile toolbar.
padding-top: $grid-unit-15;
// The 10px match that of similar settings pages.
padding: $grid-unit-15 10px 10px 10px;

@include break-medium() {
// Provide space for the floating block toolbar.
padding-top: $navigation-editor-spacing-top;
Expand Down Expand Up @@ -62,6 +63,14 @@
display: none;
}
}

.edit-navigation-header {
background: $white;

@include break-medium() {
background: transparent;
}
}
}

.edit-navigation-empty-state {
Expand Down

0 comments on commit 590520b

Please sign in to comment.