Align buttons to left, fix readme panel width, and ensure consistent 700px width for all tab content

This commit is contained in:
Marcus Quinn
2025-03-25 01:40:21 +00:00
parent d89ecc5548
commit 2998604468
4 changed files with 35 additions and 4 deletions

View File

@ -1358,4 +1358,35 @@ body.wp-admin .button.pricing-button:hover,
list-style-type: disc !important;
}
/* General, Advanced, ReadMe and Workflow Tab Spacing Fix - CAN BE REMOVED NOW */
/* Global setting for all content panels width - apply to ALL tabs */
.wp-allstars-settings-content,
.wp-allstars-tab-content > div,
.wp-allstars-settings-section,
.wpa-pro-plugins,
.wpa-pro-plugin,
#wpa-plugin-list,
#wpa-theme-list,
.wp-allstars-markdown-content,
.wpa-plugin-container,
#readme .wpa-pro-plugin,
.wp-allstars-toggle {
max-width: 700px !important;
margin-left: auto !important;
margin-right: auto !important;
width: 100% !important;
box-sizing: border-box !important;
}
/* Fix specific tab content */
#general .wp-setting-row,
#advanced .wp-setting-row,
#advanced .wp-allstars-toggle,
#workflow .wp-allstars-toggle,
#workflow .wp-setting-row,
#readme .wp-allstars-markdown-content {
max-width: 700px !important;
width: 100% !important;
box-sizing: border-box !important;
margin-left: auto !important;
margin-right: auto !important;
}

View File

@ -125,7 +125,7 @@ class WP_Allstars_Hosting_Manager {
margin-bottom: 0;
}
#hosting .wpa-pro-plugin .button-group {
justify-content: flex-end;
justify-content: flex-start;
}
';

View File

@ -184,7 +184,7 @@ class WP_Allstars_Pro_Plugins_Manager {
flex-wrap: wrap;
gap: 8px;
margin-top: auto;
justify-content: flex-end;
justify-content: flex-start;
}
.wpa-pro-plugin .button {
text-decoration: none;

View File

@ -63,7 +63,7 @@ class WP_Allstars_Tools_Manager {
margin-bottom: 0;
}
#tools .wpa-pro-plugin .button-group {
justify-content: flex-end;
justify-content: flex-start;
}
';