Fix inconsistent spacing in General, Advanced, and Read Me tabs

This commit is contained in:
Marcus Quinn
2025-03-25 01:19:27 +00:00
parent fba03d6e43
commit fd78d35186

View File

@ -1217,8 +1217,7 @@ body.wp-admin .button.pricing-button:hover,
/* Explicitly target readme content */ /* Explicitly target readme content */
#readme .wp-allstars-markdown-content { #readme .wp-allstars-markdown-content {
padding: 20px; padding: 0 20px 20px 20px; /* Remove top padding */
box-sizing: border-box;
} }
/* Prevent text from overlapping dropdown chevron icon */ /* Prevent text from overlapping dropdown chevron icon */
@ -1337,3 +1336,19 @@ body.wp-admin .button.pricing-button:hover,
margin-left: 0 !important; margin-left: 0 !important;
list-style-type: disc !important; list-style-type: disc !important;
} }
/* General, Advanced, and ReadMe Tab Spacing Fix */
#general .wp-allstars-settings-section,
#advanced .wp-allstars-settings-section,
#readme .wp-allstars-settings-section {
padding-top: 0; /* Remove extra padding that's causing double spacing */
}
/* Target specific content sections that need adjustment */
#general .wp-setting-row:first-child,
#advanced .wp-setting-row:first-child,
#advanced .wp-allstars-toggle:first-child,
#readme .wpa-pro-plugin:first-child,
#readme .wp-allstars-markdown-content {
margin-top: 5px; /* Add a small margin to align with other tabs */
}