mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
In miscellaneous publishing actions, use :last-child instead of a separate misc-pub-section-last class to control borders. Allows for sane use of the post_submitbox_misc_actions hook. (Actually uses :first-child for browser compat reasons.) fixes #19604.
git-svn-id: https://develop.svn.wordpress.org/trunk@20077 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -939,7 +939,13 @@ ul#add-to-blog-users {
|
||||
#major-publishing-actions {
|
||||
padding: 10px 10px 8px;
|
||||
clear: both;
|
||||
border-top: none;
|
||||
border-top: 1px solid #f5f5f5;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
#post-body #major-publishing-actions {
|
||||
border-top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
#delete-action {
|
||||
@@ -964,8 +970,8 @@ ul#add-to-blog-users {
|
||||
}
|
||||
|
||||
#post-body .misc-pub-section {
|
||||
border-right-width: 1px;
|
||||
border-right-style: solid;
|
||||
border-left-width: 1px;
|
||||
border-left-style: solid;
|
||||
border-top: 0;
|
||||
border-bottom: 0;
|
||||
min-height: 30px;
|
||||
@@ -973,6 +979,10 @@ ul#add-to-blog-users {
|
||||
max-width: 32%;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-section:first-child {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
#post-body .misc-pub-section-last {
|
||||
border-right: 0;
|
||||
}
|
||||
@@ -990,6 +1000,7 @@ ul#add-to-blog-users {
|
||||
.misc-pub-section:first-child {
|
||||
border-top-width: 0;
|
||||
}
|
||||
|
||||
.misc-pub-section-last {
|
||||
border-bottom-width: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user