fix(admin): center message actions with balanced cell padding
Center the operations heading and row buttons, with 20px padding on both sides of the cell. Add a regression contract for alignment and spacing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
479b324f95
commit
f208424a26
2 files changed
+5
-2
No files matched your search
@@ -96,6 +96,9 @@ test('message row actions live only in a dedicated rightmost operations column',
|
||||
assert.match(cells[6], /data-aksrt-msg-action="delete"/);
|
||||
});
|
||||
assert.match(empty, /colspan="7"/);
|
||||
const css = read('assets/css/admin/messages.css');
|
||||
assert.match(css, /\.aksrt-messages-admin \.aksrt-messages-admin__table \.column-actions\s*\{[^}]*padding-left:\s*20px;[^}]*padding-right:\s*20px;[^}]*text-align:\s*center;/);
|
||||
assert.match(css, /\.aksrt-msg-row-actions\s*\{[^}]*justify-content:\s*center;/);
|
||||
});
|
||||
|
||||
test('details preserve full content, escape HTML and unsafe links, and never mark read', () => {
|
||||
|
||||
Reference in new issue
Block a user