From 4b405e92c6f10d6178e8f36b620fd3642d3cd629 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 7 Nov 2012 21:34:45 +0000 Subject: [PATCH] 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 --- wp-admin/css/ie.css | 7 +++++++ wp-admin/css/wp-admin.css | 14 +++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index 96bc8e992a..36bb007b92 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -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; diff --git a/wp-admin/css/wp-admin.css b/wp-admin/css/wp-admin.css index 1a4dd2fed0..b5cc6e91fe 100644 --- a/wp-admin/css/wp-admin.css +++ b/wp-admin/css/wp-admin.css @@ -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;