Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Polish metabox container.
  • Loading branch information
jasmussen committed Nov 8, 2021
commit b43d39c1e11ad131524ec0b887b92acf33087b4d
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