From 1619538ea0b1eca6b4ff017ffc874537bb6949a8 Mon Sep 17 00:00:00 2001 From: Marcus Quinn Date: Fri, 14 Mar 2025 04:40:01 +0000 Subject: [PATCH] Fix theme card button positioning: - Adjust theme-actions CSS to properly align at bottom - Add min-height to theme card - Improve button padding and spacing - Add z-index for proper layering --- admin/settings.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/admin/settings.php b/admin/settings.php index 0409a2a..2dd3de4 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -314,6 +314,7 @@ function wpa_superstar_ajax_get_theme() { border: 1px solid #dcdcde; box-shadow: 0 1px 1px rgba(0,0,0,.04); background: #fff; + min-height: 330px; } .theme-browser .theme .theme-screenshot { display: block; @@ -326,6 +327,7 @@ function wpa_superstar_ajax_get_theme() { width: 100%; transform: translateZ(0); transition: opacity .2s ease-in-out; + display: block; } .theme-browser .theme .theme-name { font-size: 15px; @@ -344,16 +346,17 @@ function wpa_superstar_ajax_get_theme() { position: absolute; bottom: 0; right: 0; - height: 38px; - padding: 9px 10px 0; + padding: 10px; background: rgba(244,244,244,.7); border-left: 1px solid rgba(0,0,0,.05); + height: auto; + z-index: 1; } .theme-browser .theme:hover .theme-actions { opacity: 1; } .theme-browser .theme .theme-author { - background: #23282d; + background: rgba(35, 40, 45, 0.85); color: #eee; font-size: 14px; margin: 0; @@ -362,7 +365,6 @@ function wpa_superstar_ajax_get_theme() { bottom: 56px; left: 0; opacity: 0; - overflow: hidden; right: 0; text-align: center; text-shadow: 0 1px 0 rgba(0,0,0,.6);