fix(accounts): nudge action controls right
Move the visible Action header and each row menu together six pixels toward the table edge while preserving the fixed action-column width and alignment. Add focused coverage for the shared offset.
This commit is contained in:
@@ -674,6 +674,10 @@
|
|||||||
place-items: center;
|
place-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.settings-account-column-actions {
|
||||||
|
transform: translateX(6px);
|
||||||
|
}
|
||||||
|
|
||||||
.settings-account-hoster {
|
.settings-account-hoster {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -724,6 +724,7 @@ describe("account workspace", () => {
|
|||||||
expect(html).toContain('aria-label="Status Spaltenbreite ändern"');
|
expect(html).toContain('aria-label="Status Spaltenbreite ändern"');
|
||||||
expect(html).toMatch(/class="settings-account-column-actions" role="columnheader">Aktion<\/span>/);
|
expect(html).toMatch(/class="settings-account-column-actions" role="columnheader">Aktion<\/span>/);
|
||||||
expect(settingsCss).not.toMatch(/\.settings-account-column-actions\s*{[^}]*padding-right:/s);
|
expect(settingsCss).not.toMatch(/\.settings-account-column-actions\s*{[^}]*padding-right:/s);
|
||||||
|
expect(settingsCss).toMatch(/\.settings-account-column-actions\s*{[^}]*transform:\s*translateX\(6px\)/s);
|
||||||
});
|
});
|
||||||
|
|
||||||
it("offers separate checks for active accounts and every configured account", () => {
|
it("offers separate checks for active accounts and every configured account", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user