Fix theme panel: remove gaps, standardize button dimensions, change button area background to white

This commit is contained in:
Marcus Quinn
2025-03-17 00:15:59 +00:00
parent 01ff98716a
commit 92a3907189

View File

@ -1615,6 +1615,9 @@ function wp_allstars_settings_page() {
#wpa-theme-list .theme-screenshot { #wpa-theme-list .theme-screenshot {
height: auto; height: auto;
max-height: 900px; max-height: 900px;
display: block;
line-height: 0;
margin: 0;
} }
#wpa-theme-list .theme-screenshot img { #wpa-theme-list .theme-screenshot img {
height: auto; height: auto;
@ -1622,10 +1625,13 @@ function wp_allstars_settings_page() {
max-width: 1200px; max-width: 1200px;
max-height: 900px; max-height: 900px;
object-fit: contain; object-fit: contain;
display: block;
margin: 0;
} }
#wpa-theme-list .theme-name { #wpa-theme-list .theme-name {
font-size: 18px; font-size: 18px;
padding: 15px; padding: 15px;
margin: 0;
} }
#wpa-theme-list .theme-actions { #wpa-theme-list .theme-actions {
padding: 15px; padding: 15px;
@ -1634,13 +1640,16 @@ function wp_allstars_settings_page() {
gap: 20px; gap: 20px;
position: static; position: static;
opacity: 1; opacity: 1;
background: #f8f9fa; background: #fff;
border-top: 1px solid #eee; border-top: 1px solid #eee;
margin: 0;
} }
#wpa-theme-list .theme-actions .button { #wpa-theme-list .theme-actions .button {
width: auto; width: 120px;
min-width: 100px; height: 36px;
line-height: 34px;
text-align: center; text-align: center;
padding: 0 10px;
} }
</style> </style>
<div class="wp-list-table-container" style="max-width: 100%;"> <div class="wp-list-table-container" style="max-width: 100%;">