Tighten SCUM user table layout
This commit is contained in:
@@ -87,9 +87,10 @@ describe("platform web shared theme CSS", () => {
|
||||
it("keeps SCUM user identity and economy columns readable", () => {
|
||||
const css = compact(readThemeCss());
|
||||
|
||||
expect(css).toContain(".scum-user-table{min-width:1240px;table-layout:fixed}");
|
||||
expect(css).toContain(".scum-user-tableth,.scum-user-tabletd{padding:9px12px;border-bottom-color:color-mix(insrgb,var(--line)64%,transparent);white-space:nowrap}");
|
||||
expect(css).toContain(".scum-user-tableth:nth-child(7),.scum-user-tabletd:nth-child(7){width:190px}");
|
||||
expect(css).toContain(".scum-user-table{min-width:1080px;table-layout:fixed}");
|
||||
expect(css).toContain(".scum-user-tableth,.scum-user-tabletd{height:38px;padding:6px10px;border-bottom-color:color-mix(insrgb,var(--line)64%,transparent);white-space:nowrap;font-size:13px;line-height:1.2}");
|
||||
expect(css).toContain(".scum-user-tabletd.provider-actions-cell{padding-right:8px;overflow:visible}");
|
||||
expect(css).toContain(".scum-user-tableth:nth-child(7),.scum-user-tabletd:nth-child(7){width:156px}");
|
||||
expect(css).toContain(".scum-mono-cell{font-family:var(--font-mono);font-size:12px}");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user