Skip to content

Commit c90ab86

Browse files
committed
Updated with new sizes, removed border.
1 parent bc56ec9 commit c90ab86

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

_includes/new_org_chart.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>USCMS S&C Org Chart (Auto-Generated)</title>
55
<style>
66
body { background:#fff; font-family:sans-serif; }
7-
.chart-container { position:relative; width:1600px; height:1200px; margin:auto; border:2px solid #000; }
7+
.chart-container { position:relative; width:1200px; height:800px; margin:auto;}
88

99
.node { position:absolute; text-align:center; }
1010
.node.root { width:300px; }
@@ -30,7 +30,7 @@
3030
</head>
3131
<body>
3232
<div id="chart" class="chart-container">
33-
<canvas id="connectorCanvas" width="1600" height="1200"></canvas>
33+
<canvas id="connectorCanvas" width="1200" height="800"></canvas>
3434
</div>
3535

3636
{% capture liquid_layoutMap %}
@@ -179,14 +179,14 @@
179179

180180
/* Positions: Blueprint intentionally excluded */
181181
const positions = {
182-
management: {left:650, top:40, title:"Software & Computing", type:"root"},
183-
facilities: {left:500, top:220, title:"Facilities", type:"leaf"},
184-
software: {left:500, top:360, title:"Software", type:"leaf"},
185-
operations: {left:800, top:220, title:"Operations", type:"leaf"},
186-
hllhc: {left:800, top:360, title:"HL-LHC R&D", type:"leaf"},
187-
infra: {left:560, top:500, title:"Infrastructure", type:"leaf"},
188-
algo: {left:670, top:500, title:"Algorithms", type:"leaf"},
189-
analysis: {left:780, top:500, title:"Analysis", type:"leaf"}
182+
management: {left:450, top:40, title:"Software & Computing", type:"root"},
183+
facilities: {left:300, top:220, title:"Facilities", type:"leaf"},
184+
software: {left:300, top:360, title:"Software", type:"leaf"},
185+
operations: {left:600, top:220, title:"Operations", type:"leaf"},
186+
hllhc: {left:600, top:360, title:"HL-LHC R&D", type:"leaf"},
187+
infra: {left:360, top:500, title:"Infrastructure", type:"leaf"},
188+
algo: {left:470, top:500, title:"Algorithms", type:"leaf"},
189+
analysis: {left:580, top:500, title:"Analysis", type:"leaf"}
190190

191191
/*
192192
Example: If you ever want to show Blueprint (currently invisible),

0 commit comments

Comments
 (0)