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

git-svn-id: http://core.svn.wordpress.org/trunk@22443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2012-11-07 21:34:45 +00:00
parent 5c72b7344b
commit 4b405e92c6
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;