diff --git a/admin/css/wp-allstars-admin.css b/admin/css/wp-allstars-admin.css index a5d7f37..e742210 100644 --- a/admin/css/wp-allstars-admin.css +++ b/admin/css/wp-allstars-admin.css @@ -48,6 +48,9 @@ position: sticky; top: 32px; z-index: 100; + text-align: center; /* Center align the tabs */ + display: flex; + justify-content: center; /* Ensure better centering for tabs */ } .nav-tab { @@ -592,6 +595,19 @@ input:checked + .wp-toggle-slider:before { gap: 8px; } +/* Make theme buttons match size of plugin buttons */ +.theme-actions .button { + margin: 0; + padding: 6px 14px; + height: auto; + line-height: 1.4; + font-size: 13px; + font-weight: 500; + min-width: 100px; + text-align: center; + border-radius: 4px; +} + /* Responsive Adjustments */ @media screen and (max-width: 1200px) { .plugin-card .name, diff --git a/admin/css/wp-allstars-plugins.css b/admin/css/wp-allstars-plugins.css index c7b25fd..5f914f8 100644 --- a/admin/css/wp-allstars-plugins.css +++ b/admin/css/wp-allstars-plugins.css @@ -20,6 +20,7 @@ margin-right: 0; width: 100%; box-sizing: border-box; + text-align: center; /* Center align filter bar content */ } /* Standard WordPress Plugin Grid Layout - exactly matching core */ @@ -29,6 +30,18 @@ padding: 0; } +/* Center filter links */ +.wp-filter .filter-links { + display: inline-block; + float: none !important; + margin: 0 auto; +} + +.wp-filter .filter-links li { + float: none; + display: inline-block; +} + .wp-allstars-wrap #the-list { margin: 0; display: flex;