Skip to content

Commit

Permalink
removed fixed width of "included table" (#169)
Browse files Browse the repository at this point in the history
- closes #176
  • Loading branch information
cjyetman authored Dec 11, 2024
1 parent 936e74b commit a2c8006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/included_table.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit a2c8006

Please sign in to comment.