From 01ff98716a2249e4c210015e64fdbefc6a9b7837 Mon Sep 17 00:00:00 2001 From: Marcus Quinn Date: Mon, 17 Mar 2025 00:12:47 +0000 Subject: [PATCH] =?UTF-8?q?Adjust=20theme=20panel=20to=20properly=20displa?= =?UTF-8?q?y=201200=20=C3=97=20900=20image=20dimensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/settings.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/admin/settings.php b/admin/settings.php index 1d57153..cf74db0 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -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;