From 0e52a4efc1c824c89fc823c0cc42c7d9415dce11 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 15 Feb 2020 05:06:39 +0000 Subject: [PATCH] Themes: Correct the height of theme actions button container on various screen sizes. Props aftabmuni, alexischenal, ideaboxcreations, audrasjb, SergeyBiryukov. Fixes #49302. git-svn-id: https://develop.svn.wordpress.org/trunk@47293 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/customize-controls.css | 14 +------------- src/wp-admin/css/themes.css | 6 +++--- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 044edc5b6a..99333735c1 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -1631,7 +1631,7 @@ p.customize-section-description { .theme-browser .theme.active .theme-actions, .wp-customizer .theme-browser .theme .theme-actions { - padding: 10px 15px; + padding: 9px 15px; box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); } @@ -2937,21 +2937,9 @@ body.adding-widget .add-new-widget:before, .wp-core-ui .themes-filter-bar .feature-filter-toggle { margin: 0; } - - .theme-browser .theme.active .theme-actions, - .wp-customizer .theme-browser .theme .theme-actions { - padding: 9px 15px; - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); - } } @media screen and (max-width: 600px) { - .theme-browser .theme.active .theme-actions, - .wp-customizer .theme-browser .theme .theme-actions { - padding: 8px 15px; - box-shadow: none; - } - .wp-full-overlay.expanded { margin-left: 0; } diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 029544ba51..4b793a0fd2 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -229,7 +229,7 @@ body.js .theme-browser.search-loading { top: 50%; transform: translateY(-50%); right: 0; - padding: 10px 15px; + padding: 9px 15px; box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1); } @@ -1910,8 +1910,8 @@ body.full-overlay-active { .theme-browser .theme.active .theme-actions, .theme-browser .theme .theme-actions { - padding-top: 8px; - padding-bottom: 8px; + padding-top: 4px; + padding-bottom: 4px; } }