diff --git a/beat/web/experiments/static/experiments/js/utils.js b/beat/web/experiments/static/experiments/js/utils.js index eee1b7264d92dbfe20e923adccfc04aa59b7a10b..a27fb899442c4290c948b276a8eaf1cd20db8696 100644 --- a/beat/web/experiments/static/experiments/js/utils.js +++ b/beat/web/experiments/static/experiments/js/utils.js @@ -195,7 +195,9 @@ beat.experiments.utils.displayPlot = function( var td_title = document.createElement('td'); td_title.className = 'td_title'; - td_title.textContent = _data.legend; + const title_h2 = document.createElement('h2'); + title_h2.textContent = _data.legend; + td_title.appendChild(title_h2); tr_title.appendChild(td_title); } // adds image place holder diff --git a/beat/web/reports/static/reports/css/style.css b/beat/web/reports/static/reports/css/style.css index fd5dede61bace19d342119dbec97b5f44a248cde..0440251a9a3d800fbc2e9ff7b2a069ff5830cf0b 100644 --- a/beat/web/reports/static/reports/css/style.css +++ b/beat/web/reports/static/reports/css/style.css @@ -210,3 +210,8 @@ div.report_commands div.report_buttons_bloc .publish_report:hover background-image: linear-gradient(#499bea, #4f85bb); border-color: #4f85bb; } + +.td_title > h2 { + margin-left: 20px; + margin-bottom: 0; +}