From cb2285f63eeb766665352a7290ff21af2e9e0513 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Fri, 16 Oct 2015 15:55:06 +0000 Subject: [PATCH] Accessibility: Improve headings hierarchy in the Theme browser modal dialog. Fixes #34288. git-svn-id: https://develop.svn.wordpress.org/trunk@35220 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/themes.css | 3 ++- src/wp-admin/themes.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index d660bd06d0..19250f75c6 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -753,10 +753,11 @@ body.folded .theme-overlay .theme-wrap { } .theme-overlay .theme-author { + margin: 15px 0 25px; color: #686868; font-size: 16px; font-weight: 400; - margin: 15px 0 25px; + line-height: inherit; } .theme-overlay .theme-author a { diff --git a/src/wp-admin/themes.php b/src/wp-admin/themes.php index 6c5da9fccb..edbe97ab3f 100644 --- a/src/wp-admin/themes.php +++ b/src/wp-admin/themes.php @@ -423,11 +423,11 @@ $can_install = current_user_can( 'install_themes' ); <# } #>

{{{ data.name }}}

-

+

<# if ( data.hasUpdate ) { #>
-

+

{{{ data.update }}}
<# } #>