cable-sizing: trigger on both cable columns, calculator icon

Trigger now matches cableSummary OR cableCrossSection so it still
shows up regardless of which cable-related column a user has visible
(column visibility is a per-browser preference in this app, not fixed
- see docs/cable-sizing-module.md coupling note). Icon changed to a
calculator glyph.
This commit is contained in:
Grovy311 2026-08-07 17:50:26 +02:00
parent 068ec72fe2
commit d22f150cbe
2 changed files with 2 additions and 2 deletions

View file

@ -1228,7 +1228,7 @@ a.kpi:hover {
} }
.tree-grid .cell-cable-sizing-trigger::after { .tree-grid .cell-cable-sizing-trigger::after {
content: " "; content: " 🧮";
font-size: 0.8em; font-size: 0.8em;
opacity: 0.7; opacity: 0.7;
} }

View file

@ -4277,7 +4277,7 @@ export function CircuitTreeEditor(props: { projectId: string; circuitListId: str
row.rowType !== "deviceRow" row.rowType !== "deviceRow"
); );
const isCableSizingTrigger = Boolean( const isCableSizingTrigger = Boolean(
column.key === "cableSummary" && (column.key === "cableSummary" || column.key === "cableCrossSection") &&
row.circuit && row.circuit &&
row.rowType !== "deviceRow" row.rowType !== "deviceRow"
); );