Skip to content

Commit a2c8006

Browse files
authored
removed fixed width of "included table" (#169)
- closes #176
1 parent 936e74b commit a2c8006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/included_table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function tabulateIntoIncludedTable(data, id, opts) {
2121
var columns = Object.keys(data[0]);
2222
d3.select(id).selectAll('table').remove();
2323

24-
var idDiv = d3.select(id).attr('class', 'd3chart included_table').style('width', '800px');
24+
var idDiv = d3.select(id).attr('class', 'd3chart included_table').style('max-width', '800px');
2525

2626
var table = idDiv.append('table'),
2727
thead = table.append('thead'),

0 commit comments

Comments
 (0)