From 5f3d937cce8fc30b3ceded1302b1613888bf2edc Mon Sep 17 00:00:00 2001 From: Marcus Quinn Date: Fri, 14 Mar 2025 04:41:51 +0000 Subject: [PATCH] Fix theme card button positioning: - Make theme-actions span full width - Add proper spacing and alignment - Fix button margin and padding - Update border style from left to top --- admin/settings.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/admin/settings.php b/admin/settings.php index 2dd3de4..9e6206c 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -315,6 +315,7 @@ function wpa_superstar_ajax_get_theme() { box-shadow: 0 1px 1px rgba(0,0,0,.04); background: #fff; min-height: 330px; + padding-bottom: 50px; } .theme-browser .theme .theme-screenshot { display: block; @@ -346,10 +347,12 @@ function wpa_superstar_ajax_get_theme() { position: absolute; bottom: 0; right: 0; + left: 0; + height: 50px; padding: 10px; background: rgba(244,244,244,.7); - border-left: 1px solid rgba(0,0,0,.05); - height: auto; + border-top: 1px solid rgba(0,0,0,.05); + text-align: right; z-index: 1; } .theme-browser .theme:hover .theme-actions { @@ -374,6 +377,9 @@ function wpa_superstar_ajax_get_theme() { .theme-browser .theme:hover .theme-author { opacity: 1; } + .theme-browser .theme .theme-actions .button { + margin-left: 5px; + }