Adjust theme panel to properly display 1200 × 900 image dimensions

This commit is contained in:
Marcus Quinn
2025-03-17 00:12:47 +00:00
parent cf75d2c85a
commit 01ff98716a

View File

@ -1605,20 +1605,23 @@ function wp_allstars_settings_page() {
}
#wpa-theme-list .theme {
width: 100%;
max-width: 100%;
margin: 0;
max-width: 1200px;
margin: 0 auto;
padding: 0;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
border-radius: 8px;
overflow: hidden;
}
#wpa-theme-list .theme-screenshot {
height: 600px;
height: auto;
max-height: 900px;
}
#wpa-theme-list .theme-screenshot img {
height: 100%;
height: auto;
width: 100%;
object-fit: cover;
max-width: 1200px;
max-height: 900px;
object-fit: contain;
}
#wpa-theme-list .theme-name {
font-size: 18px;