From 1f33ad47629669f54abe76011e6c9cdde5a0e422 Mon Sep 17 00:00:00 2001 From: Marcus Quinn Date: Fri, 14 Mar 2025 05:18:54 +0000 Subject: [PATCH] Fix theme card button vertical alignment: - Center buttons perfectly using transform - Add proper vertical padding - Adjust overlay height for better appearance --- admin/settings.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/admin/settings.php b/admin/settings.php index 9d0dc05..535a808 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -341,15 +341,18 @@ function wpa_superstar_ajax_get_theme() { } .theme-browser .theme .theme-actions { position: absolute; - top: 0; + top: 50%; + transform: translateY(-50%); left: 0; right: 0; - bottom: 48px; + bottom: auto; + height: auto; display: flex; align-items: center; justify-content: center; gap: 5px; background: rgba(255, 255, 255, 0.9); + padding: 20px 0; } .theme-browser .theme .theme-actions .button { margin: 0;