Tighten SCUM user table display

This commit is contained in:
npc0-hue
2026-08-28 14:32:28 +08:00
parent 3ca67907a1
commit bb187f6007
4 changed files with 25 additions and 11 deletions
+9
View File
@@ -84,6 +84,15 @@ describe("platform web shared theme CSS", () => {
expect(css).not.toContain("linear-gradient(145deg, rgba(255, 255, 255, 0.72), transparent 36%)");
});
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-mono-cell{font-family:var(--font-mono);font-size:12px}");
});
it("uses shared orbital construct backdrop and button ring effects", () => {
const themeCss = readThemeCss();
const constructRule = themeCss.slice(themeCss.indexOf(".global-orbital-construct"), themeCss.indexOf(".mobile-sidebar-backdrop"));