From 5db48fcac412170bfadf09c10f8ec6255281de82 Mon Sep 17 00:00:00 2001 From: Dion Hulse 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: https://develop.svn.wordpress.org/trunk@19709 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 6ce94534f7..9452b9035f 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 14412ebde8..f35896a55e 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;