Skip to content

Commit fa20db2

Browse files
Merge remote-tracking branch 'origin/master' into PlotlyPromisePolyfill
2 parents 7705348 + e2e2e16 commit fa20db2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

test-dashboard/toolpanel-dashboard/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030

3131
<!-- UI Stuff -->
32-
<script type"text/javascript" src="ui.js"></script>
32+
<script type="text/javascript" src="ui.js"></script>
3333

3434
</body>
3535

test-dashboard/toolpanel-dashboard/ui.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ function createPlot (divId) {
3030
graphDiv.style.position = 'relative';
3131
graphDiv.style.verticalAlign = 'top';
3232

33-
toolDiv.style.verticalAlign = 'top';
34-
toolDiv.style.width = '130px';
35-
toolDiv.style.display = 'inline-block';
33+
toolDiv.className = 'toolDiv';
3634

3735
containerDiv.appendChild(toolDiv);
3836
containerDiv.appendChild(graphDiv);
@@ -62,7 +60,8 @@ function createPlot (divId) {
6260
window.toolPanel = graphDiv.toolPanel;
6361

6462
graphDiv.toolPanel.makeMenu({
65-
toolMenuContainer: toolDiv
63+
toolMenuContainer: toolDiv,
64+
menuStyle: 'narrow'
6665
});
6766

6867
toolPanel.createMenuMultiButton([

0 commit comments

Comments
 (0)