From fe48fa3d5201d9000b729218842e0e7f0ccbc5a1 Mon Sep 17 00:00:00 2001 From: Marcus Quinn Date: Mon, 17 Mar 2025 00:18:41 +0000 Subject: [PATCH] Fix theme panel: vertically center buttons, close gaps below image and in button row --- admin/settings.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/admin/settings.php b/admin/settings.php index 6c40371..fadf0a8 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -1618,6 +1618,7 @@ function wp_allstars_settings_page() { display: block; line-height: 0; margin: 0; + font-size: 0; } #wpa-theme-list .theme-screenshot img { height: auto; @@ -1634,15 +1635,17 @@ function wp_allstars_settings_page() { margin: 0; } #wpa-theme-list .theme-actions { - padding: 15px; + padding: 0; display: flex; justify-content: center; + align-items: center; gap: 20px; position: static; opacity: 1; background: #fff; border-top: 1px solid #eee; margin: 0; + height: 60px; } #wpa-theme-list .theme-actions .button { width: 120px; @@ -1650,6 +1653,8 @@ function wp_allstars_settings_page() { line-height: 34px; text-align: center; padding: 0 10px; + vertical-align: middle; + margin: 0; }