From 7a3c62d0dd0630c9f2d169bb69af01a4cbb7e2c9 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 19 May 2007 17:24:25 +0000 Subject: [PATCH] Fix widget admin layout for IE7. Props Denis-de-Bernardy. fixes #4264 for 2.3 git-svn-id: http://svn.automattic.com/wordpress/trunk@5494 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 54d62f7515..f3b90df863 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 ) ) ); ?> +