Skip to content

Commit

Permalink
Polish metabox container. (#36297)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmussen authored and noisysocks committed Nov 15, 2021
1 parent 758c89f commit 0ca945e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
8 changes: 0 additions & 8 deletions packages/edit-post/src/components/layout/style.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
.edit-post-layout__metaboxes {
flex-shrink: 0;
}
.edit-post-layout__metaboxes:not(:empty) {
border-top: $border-width solid $gray-300;
padding: 10px 0 10px;
clear: both;

.edit-post-meta-boxes-area {
margin: auto 20px;
}
}

// Adjust the position of the notices
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
box-sizing: border-box;
}

.postbox-header {
border-top: $border-width solid $gray-300;
border-bottom: 0;
}

/* Match width and positioning of the meta boxes. Override default styles. */
#poststuff {
margin: 0 auto;
Expand All @@ -34,7 +39,7 @@
color: inherit;
font-weight: 600;
outline: none;
padding: 15px;
padding: 0 $grid-unit-30;
position: relative;
width: 100%;
}
Expand All @@ -46,9 +51,8 @@
}

.postbox > .inside {
border-bottom: $border-width solid $gray-300;
color: inherit;
padding: 0 $block-padding $block-padding;
padding: 0 $grid-unit-30 $grid-unit-30;
margin: 0;
}

Expand Down

0 comments on commit 0ca945e

Please sign in to comment.