From aa4bd6dc9b37b4d7df0370da7c3ef41b5a7adf7f Mon Sep 17 00:00:00 2001 From: dd32 Date: Sun, 8 Jan 2012 05:53:19 +0000 Subject: [PATCH] Clean up the Plugin installer Screenshots page, Adds CSS resize support to the images to prevent them requiring scrolling and falling below the FYI box. Fixes #19777 git-svn-id: http://svn.automattic.com/wordpress/trunk@19709 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/wp-admin-rtl.dev.css | 1 + wp-admin/css/wp-admin.dev.css | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/wp-admin/css/wp-admin-rtl.dev.css b/wp-admin/css/wp-admin-rtl.dev.css index 6ce94534f..9452b9035 100644 --- a/wp-admin/css/wp-admin-rtl.dev.css +++ b/wp-admin/css/wp-admin-rtl.dev.css @@ -2176,6 +2176,7 @@ div.star { padding-right: 20px; } +#plugin-information #section-screenshots ol, #plugin-information .updated, #plugin-information pre { margin-right: 0; diff --git a/wp-admin/css/wp-admin.dev.css b/wp-admin/css/wp-admin.dev.css index 14412ebde..f35896a55 100644 --- a/wp-admin/css/wp-admin.dev.css +++ b/wp-admin/css/wp-admin.dev.css @@ -6859,8 +6859,16 @@ div.star img { list-style-image: none; } +#plugin-information #section-screenshots ol { + list-style: none; + margin: 0; +} + #plugin-information #section-screenshots li img { vertical-align: text-top; + max-width: 100%; + width: auto; + height: auto; } #plugin-information #section-screenshots li p { @@ -6869,6 +6877,7 @@ div.star img { padding-bottom: 2em; } +#plugin-information #section-screenshots ol, #plugin-information .updated, #plugin-information pre { margin-right: 215px;