Prevent an unseemly gap on the edit screen when nothing else displays before normal meta boxes. Give better HTML and visual structure to items added via edit_form_after_title and edit_form_after_editor. Using a class of .edit-form-section will now get you a 20px bottom margin; perfect for your additions to the post edit screen. fixes #23240.

git-svn-id: https://develop.svn.wordpress.org/trunk@23615 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2013-03-04 23:22:17 +00:00
parent a8a63c13c6
commit a847ce2f36
3 changed files with 16 additions and 15 deletions
+1 -9
View File
@@ -3101,10 +3101,6 @@ input#link_url {
padding-bottom: 0;
}
.post-formats-fields {
margin-bottom: 20px;
}
.wp-format-standard .post-formats-fields,
.wp-format-aside .post-formats-fields,
.wp-format-chat .post-formats-fields,
@@ -4771,10 +4767,6 @@ span.imgedit-scale-warn {
padding: 2px 10px;
}
.wp_attachment_details {
margin-bottom: 20px;
}
/*------------------------------------------------------------------------------
15.0 - Comments Screen
------------------------------------------------------------------------------*/
@@ -6325,7 +6317,7 @@ table.form-table td .updated {
padding: 0;
}
#post-body-content {
.edit-form-section {
margin-bottom: 20px;
}