From 106ef1668928437112ef604da2824e7acb3179dc Mon Sep 17 00:00:00 2001 From: Marcus Quinn Date: Fri, 14 Mar 2025 05:08:46 +0000 Subject: [PATCH] Fix theme card button positioning: - Make buttons permanently visible - Remove hover states - Add padding for button area - Match core WordPress styling --- admin/settings.php | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/admin/settings.php b/admin/settings.php index 11b11ec..8b64e0c 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -341,18 +341,17 @@ function wpa_superstar_ajax_get_theme() { text-overflow: ellipsis; background: #fff; position: relative; + padding-right: 180px; } .theme-browser .theme .theme-actions { position: absolute; - top: 50%; right: 0; - padding: 9px 15px; - background: rgba(244,244,244,.7); + bottom: 0; + padding: 10px 15px; + background: #f0f0f1; border-left: 1px solid rgba(0,0,0,.05); - transform: translateY(-50%); - height: 100%; - display: flex; - align-items: center; + height: 46px; + box-sizing: border-box; } .theme-browser .theme .theme-author { background: rgba(0,0,0,.7);