From 8722b53c96bd456396fad42ba8245d02540385d7 Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Tue, 3 Dec 2013 20:28:50 +0000 Subject: [PATCH] Ensure that 'Add New Theme' text doesn't overlap the + icon even at Firefox's ridiculously small 230px wide browser. Fixes #26226. git-svn-id: https://develop.svn.wordpress.org/trunk@26584 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/wp-admin.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 8ece7a2b1b..c2be21fd27 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -6652,7 +6652,9 @@ span.imgedit-scale-warn { box-shadow: none; font-weight: 400; position: relative; - top: -50px; + top: 0; + margin-top: -10%; + margin-bottom: 10%; } .theme-browser .theme.add-new-theme:hover .theme-name { @@ -7182,6 +7184,16 @@ body.folded .theme-overlay .theme-wrap { margin: 10px 0; width: 100%; } + + .theme-browser .theme.add-new-theme span:after { + font: normal 60px/90px 'dashicons'; + width: 80px; + height: 80px; + top: 30%; + left: 50%; + text-indent: 0; + margin-left: -40px; + } } .broken-themes {