UX: Tweak plugin and customize-based admin page margins (#30808)

Admin pages that are based off the customize or plugin templates were wrapped in the `admin-container` class, which has slightly different margins to the `admin-config-page` class, which is used on most admin pages.

This change ensures that all the admin pages have the same alignment.
This commit is contained in:
Gary Pendergast 2025-01-16 09:44:43 +11:00 committed by GitHub
parent 27f278253b
commit 99f5670c30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -58,6 +58,6 @@
</AdminNav>
{{/unless}}
<div class="admin-container">
<div class="admin-config-page">
{{outlet}}
</div>

View File

@ -32,7 +32,7 @@
</div>
{{/if}}
<div class="admin-container -no-header">
<div class="admin-config-page -no-header">
{{#each this.brokenAdminRoutes as |route|}}
<div class="alert alert-error">
{{i18n "admin.plugins.broken_route" name=(i18n route.label)}}

View File

@ -47,7 +47,7 @@ acceptance("Admin - Plugins", function (needs) {
.hasText("Some Test Plugin", "displays the plugin in the table");
assert
.dom(".admin-plugins .admin-container .alert-error")
.dom(".admin-plugins .admin-config-page .alert-error")
.exists("shows an error for unknown routes");
assert