diff --git a/src/js/included_table.js b/src/js/included_table.js index 5d071c7..9848bcf 100644 --- a/src/js/included_table.js +++ b/src/js/included_table.js @@ -21,7 +21,7 @@ export function tabulateIntoIncludedTable(data, id, opts) { var columns = Object.keys(data[0]); d3.select(id).selectAll('table').remove(); - var idDiv = d3.select(id).attr('class', 'd3chart included_table').style('width', '800px'); + var idDiv = d3.select(id).attr('class', 'd3chart included_table').style('max-width', '800px'); var table = idDiv.append('table'), thead = table.append('thead'),