Tighten SCUM user table layout

This commit is contained in:
npc0-hue
2026-09-09 11:36:44 +08:00
parent dfe4bd72d8
commit f88123e185
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -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}");
});