Fix theme card button vertical alignment: - Center buttons perfectly using transform - Add proper vertical padding - Adjust overlay height for better appearance

This commit is contained in:
Marcus Quinn
2025-03-14 05:18:54 +00:00
parent 542bd3c0c7
commit 1f33ad4762

View File

@ -341,15 +341,18 @@ function wpa_superstar_ajax_get_theme() {
} }
.theme-browser .theme .theme-actions { .theme-browser .theme .theme-actions {
position: absolute; position: absolute;
top: 0; top: 50%;
transform: translateY(-50%);
left: 0; left: 0;
right: 0; right: 0;
bottom: 48px; bottom: auto;
height: auto;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 5px; gap: 5px;
background: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.9);
padding: 20px 0;
} }
.theme-browser .theme .theme-actions .button { .theme-browser .theme .theme-actions .button {
margin: 0; margin: 0;