Skip to content

Commit a8a8227

Browse files
committed
Update for chart size on control page
1 parent a128d65 commit a8a8227

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

control/templates/control/controlPanelNew.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ <h4 style="padding:3px;margin:0">
8787
</div>
8888
</div>
8989
</div>
90-
<div id="rates_panel" style="position:relative;height:240px;width:100%;">
90+
<div id="rates_panel"
91+
style="position:relative;height:240px;width:100%;">
9192

9293
</div>
9394
</div>
@@ -592,10 +593,10 @@ <h3>Muon Veto</h3>
592593
// Check rates
593594
ratesheight = $("#rates_panel").innerHeight() + $("#rates_title").innerHeight();
594595
if(ratesheight > height)
595-
height = (ratesheight)/5;
596+
height = (ratesheight)/4;
597+
height = (200 + $("#rates_title").innerHeight())/4;
596598

597-
598-
height = window.innerHeight / 15;
599+
// height = window.innerHeight / 15;
599600
if(height<40) height=40;
600601
console.log("CELL HEIGHT");
601602
console.log(height);

0 commit comments

Comments
 (0)