From 291cbe34f501639515297e3d37180e660f68f4e9 Mon Sep 17 00:00:00 2001 From: Marcus Quinn Date: Tue, 25 Mar 2025 02:03:19 +0000 Subject: [PATCH] Make free plugins secondary navigation max-width match other tabs (700px) --- admin/css/wp-allstars-admin.css | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/admin/css/wp-allstars-admin.css b/admin/css/wp-allstars-admin.css index c64639b..ef28435 100644 --- a/admin/css/wp-allstars-admin.css +++ b/admin/css/wp-allstars-admin.css @@ -1054,13 +1054,31 @@ body.wp-admin .button.pricing-button:hover, padding: 0; } -/* Filter navigation - full width */ +/* Filter navigation - container at max-width to match other tabs */ +#wpa-plugin-filters { + max-width: 700px !important; + margin: 0 auto 25px auto !important; + box-sizing: border-box; + padding: 15px; + border-radius: 8px; +} + +/* Filter links should be centered within container */ +#wpa-plugin-filters .filter-links { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 10px; + margin: 0; +} + +/* Keep free plugins subsubsub navigation full width */ #recommended .nav-tab-wrapper, #recommended .subsubsub { - max-width: 100%; - width: 100%; + max-width: 100% !important; + width: 100% !important; box-sizing: border-box; - margin: 0 0 25px 0 !important; /* Match the global margin setting of 25px */ + margin: 0 0 25px 0 !important; text-align: center; }