We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1dee703 + 9883e8b commit a1d60b6Copy full SHA for a1d60b6
1 file changed
webapp/redux/middleware/plotMiddleware.js
@@ -60,6 +60,7 @@ const plotFigure = async (plotId, plotMethod, plotType = false, uri = null, them
60
//if (plotId === 'rxdConcentrationPlot') {
61
// FIXME: How can we center the bokeh plots when sizing_mode='scale_height'
62
htmlText = htmlText.replace('<head>', '<head><style>.bk {margin: 0 auto!important;} div {overflow:hidden;} frame {overflow:hidden;}</style>');
63
+ htmlText = htmlText.replace('margin: 0 auto!important;', 'margin: 0;');
64
//}
65
return htmlText;
66
}
0 commit comments