Skip to content

Commit

Permalink
Remove default padding from card body and left padding to spacer comp…
Browse files Browse the repository at this point in the history
…onent
  • Loading branch information
glendaviesnz committed Feb 15, 2023
1 parent 7a8a44a commit 8c2c179
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packages/edit-site/src/components/sidebar-edit-mode/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,24 @@
flex-direction: column;
min-height: 100%;

&__panel,
&__navigator-provider {
&__panel {
.components-spacer {
padding-left: $grid-unit-20;
}
}
&__navigator-provider,
&__panel {
display: flex;
flex-direction: column;
flex: 1;
}

&__navigator-screen {
flex: 1;
.components-card-body {
padding-left: 0;
padding-right: 0;
}
}
}

Expand Down

0 comments on commit 8c2c179

Please sign in to comment.