I’m trying to display to tables from pandas side by side. Each of them have are in one html divider, the divider being a row and the two tables being columns.
I don’t think you want to have such large margins on the two columns, that’s causing things to be too wide for the row and overflow.
I’m not that familiar with Materialize so I don’t know what the best practice is, but I got something that looked reasonable with this kind of structure:
where table1 and table2 are your two data-tables (the ‘container’ div is optional). I found that the data-tables filled the whole column even though it looks like there’s supposed to be some padding, so you can also add another level of dividers with the padding yourself. E.g. have the same structure as above where table1 is defined as