Fix theme card button positioning: - Make buttons permanently visible - Remove hover states - Add padding for button area - Match core WordPress styling

This commit is contained in:
Marcus Quinn
2025-03-14 05:08:46 +00:00
parent 035e93e77e
commit 106ef16689

View File

@ -341,18 +341,17 @@ function wpa_superstar_ajax_get_theme() {
text-overflow: ellipsis; text-overflow: ellipsis;
background: #fff; background: #fff;
position: relative; position: relative;
padding-right: 180px;
} }
.theme-browser .theme .theme-actions { .theme-browser .theme .theme-actions {
position: absolute; position: absolute;
top: 50%;
right: 0; right: 0;
padding: 9px 15px; bottom: 0;
background: rgba(244,244,244,.7); padding: 10px 15px;
background: #f0f0f1;
border-left: 1px solid rgba(0,0,0,.05); border-left: 1px solid rgba(0,0,0,.05);
transform: translateY(-50%); height: 46px;
height: 100%; box-sizing: border-box;
display: flex;
align-items: center;
} }
.theme-browser .theme .theme-author { .theme-browser .theme .theme-author {
background: rgba(0,0,0,.7); background: rgba(0,0,0,.7);