Standardize tab-to-content spacing to consistent 22px throughout plugin

This commit is contained in:
Marcus Quinn
2025-03-24 20:55:14 +00:00
parent 9108a5345c
commit 1c477aa0f2
2 changed files with 6 additions and 6 deletions

View File

@ -336,7 +336,7 @@ input:checked + .wp-toggle-slider:before {
/* Settings Container */ /* Settings Container */
.wpa-settings-content { .wpa-settings-content {
margin-top: 20px; margin-top: 22px;
padding: 0 20px; padding: 0 20px;
} }
@ -388,7 +388,7 @@ input:checked + .wp-toggle-slider:before {
/* Plugin List Container */ /* Plugin List Container */
.wp-list-table-container { .wp-list-table-container {
margin-top: 20px; margin-top: 22px;
padding: 0 20px; padding: 0 20px;
position: relative; position: relative;
min-height: 400px; min-height: 400px;
@ -526,7 +526,7 @@ input:checked + .wp-toggle-slider:before {
/* Theme Container */ /* Theme Container */
#wpa-theme-list { #wpa-theme-list {
margin-top: 20px; margin-top: 22px;
padding: 0 20px; padding: 0 20px;
position: relative; position: relative;
min-height: 400px; min-height: 400px;

View File

@ -25,7 +25,7 @@
/* Standard WordPress Plugin Grid Layout - exactly matching core */ /* Standard WordPress Plugin Grid Layout - exactly matching core */
.wp-allstars-wrap .wp-list-table.plugin-install { .wp-allstars-wrap .wp-list-table.plugin-install {
margin-top: 20px; margin-top: 22px;
clear: both; clear: both;
padding: 0; padding: 0;
} }
@ -157,7 +157,7 @@ body.wp-admin .wp-list-table.plugin-install #the-list .plugin-card .plugin-card-
min-height: 100px !important; min-height: 100px !important;
position: relative !important; position: relative !important;
padding: 20px !important; padding: 20px !important;
padding-top: 20px !important; /* Force top padding to stay at 20px */ padding-top: 22px !important; /* Force top padding to stay at 22px */
overflow: hidden !important; overflow: hidden !important;
} }
@ -165,7 +165,7 @@ body.wp-admin .wp-list-table.plugin-install #the-list .plugin-card .plugin-card-
@supports (display: flex) { @supports (display: flex) {
body.wp-admin .wp-list-table.plugin-install #the-list .plugin-card .plugin-card-top { body.wp-admin .wp-list-table.plugin-install #the-list .plugin-card .plugin-card-top {
padding: 20px !important; padding: 20px !important;
padding-top: 20px !important; padding-top: 22px !important;
min-height: 100px !important; min-height: 100px !important;
} }
} }