fix(accounts): fine tune action alignment
Shift the centered Action header and account row menus eight pixels within the flexible final grid track without moving the track or expanding scrollable overflow. Lock the exact inner alignment in the focused account layout regression test.
This commit is contained in:
@@ -674,6 +674,11 @@
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.settings-account-table-grid > .settings-account-column-actions,
|
||||
.settings-account-row > .settings-account-column-actions {
|
||||
padding-left: 27px;
|
||||
}
|
||||
|
||||
.settings-account-hoster {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -723,7 +723,7 @@ describe("account workspace", () => {
|
||||
expect(count(html, 'role="separator"')).toBe(ACCOUNT_COLUMNS.length);
|
||||
expect(html).toContain('aria-label="Status Spaltenbreite ändern"');
|
||||
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).toMatch(/\.settings-account-column-actions\s*{[^}]*padding-left:\s*27px/s);
|
||||
expect(settingsCss).not.toMatch(/\.settings-account-column-actions\s*{[^}]*transform:/s);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user