Try to avoid overflow of the page template dropdown with long template names. props SergeyBiryukov, ocean90. fixes #21956.

git-svn-id: https://develop.svn.wordpress.org/trunk@22443 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-11-07 21:34:45 +00:00
parent 2bd843f1e7
commit 3f01c9132d
2 changed files with 20 additions and 1 deletions

View File

@ -343,6 +343,13 @@ form#template div {
font-size: 1.6em;
}
#poststuff .inside #parent_id,
#poststuff .inside #page_template,
.inline-edit-row #post_parent,
.inline-edit-row select[name="page_template"] {
width: 250px;
}
#bh {
margin: 7px 10px 0 0;
float: right;

View File

@ -5919,10 +5919,22 @@ table.form-table td .updated {
}
#poststuff .inside #parent_id,
.inline-edit-row #post_parent {
#poststuff .inside #page_template {
max-width: 100%;
}
.inline-edit-row #post_parent,
.inline-edit-row select[name="page_template"] {
max-width: 80%;
}
.ie8 #poststuff .inside #parent_id,
.ie8 #poststuff .inside #page_template,
.ie8 .inline-edit-row #post_parent,
.ie8 .inline-edit-row select[name="page_template"] {
width: 250px;
}
#post-visibility-select,
#post-formats-select {
line-height: 1.5em;