From a4278e740549fe9e9875baaf4b73a626c872aa8f Mon Sep 17 00:00:00 2001 From: Marcus Quinn Date: Fri, 14 Mar 2025 04:57:57 +0000 Subject: [PATCH] Fix theme card button positioning: - Add text-align: right to align buttons - Set width: auto to contain buttons - Add z-index for proper layering - Adjust padding and margins --- admin/settings.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/admin/settings.php b/admin/settings.php index edf3cd0..b930096 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -347,9 +347,12 @@ function wpa_superstar_ajax_get_theme() { position: absolute; right: 0; bottom: 0; - padding: 9px 15px; - background: rgba(244,244,244,.7); + padding: 10px; + background: rgba(244,244,244,.9); border-left: 1px solid rgba(0,0,0,.05); + text-align: right; + width: auto; + z-index: 10; } .theme-browser .theme:focus .theme-actions, .theme-browser .theme:hover .theme-actions { @@ -373,7 +376,7 @@ function wpa_superstar_ajax_get_theme() { } .theme-browser .theme .theme-actions .button { float: none; - margin-left: 3px; + margin-left: 5px; } .theme-browser .theme .theme-actions .button:first-child { margin-left: 0;