From 9cc55c331217b277a24f08b4925dd01b879f7b5d Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 19 May 2007 17:23:50 +0000 Subject: [PATCH] Fix widget admin layout for IE7. Props Denis-de-Bernardy. fixes #4264 for 2.2 git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5493 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/widgets.css | 5 +++-- wp-admin/widgets.php | 12 +++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/wp-admin/widgets.css b/wp-admin/widgets.css index 54b21e6d84..f78dbe5edf 100644 --- a/wp-admin/widgets.css +++ b/wp-admin/widgets.css @@ -84,11 +84,11 @@ body { } .placematt { - position: absolute; cursor: default; margin: 10px 0 0; padding: 0; width: 238px; + float:left; background-color: #ffe; } @@ -106,10 +106,11 @@ body { text-align: justify; } + #palettediv { border: 1px solid #bbb; background-color: #f0f8ff; - height: 180px; + height:auto; margin-top: 10px; } diff --git a/wp-admin/widgets.php b/wp-admin/widgets.php index 36157fff1f..a4e46f9ff7 100644 --- a/wp-admin/widgets.php +++ b/wp-admin/widgets.php @@ -15,6 +15,11 @@ function wp_widgets_admin_head() { define( 'WP_WIDGETS_HEIGHT', 35 * ( count( $wp_registered_widgets ) ) ); ?> +