From 426dbc083c68337fc88354814360551d2a0f46d8 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Fri, 6 Dec 2013 23:15:23 +0000 Subject: [PATCH] Themes: Avoid overlap with themes with small screenshots and no description. props matveb. fixes #26465. git-svn-id: https://develop.svn.wordpress.org/trunk@26753 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 9cff33ce4b..52ecfdf560 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -7054,6 +7054,7 @@ body.folded .theme-overlay .theme-wrap { .theme-overlay .parent-theme strong { font-weight: 700; } + /** * Single Theme Mode * Displays detailed view inline when a user has no switch capabilities @@ -7063,16 +7064,24 @@ body.folded .theme-overlay .theme-wrap { .single-theme .theme { display: none; } + .single-theme .theme-overlay .theme-wrap { clear: both; - position: static; + min-height: 330px; + position: relative; + left: auto; + right: auto; + top: auto; + bottom: auto; } + .single-theme .theme-overlay .theme-about { - padding: 30px; + padding: 30px 30px 70px; position: static; } + .single-theme .theme-overlay .theme-actions { - position: static; + position: absolute; } /** @@ -7266,6 +7275,9 @@ body.folded .theme-overlay .theme-wrap { .single-theme .current-label { display: none; } + .single-theme .theme-overlay .theme-actions { + position: static; + } } .broken-themes {