I have a rails app that uses mobile view as well. I've read adding responsive: true
would make it fit in the view, but it doesn't. My table has 4 rows, and shows only two of them in mobile - and I cant scroll right to see the whole table.
<table class="table table-sm table-dashboard data-table no-wrap mb-0 fs--1 w-100" id="myTable" data-gene="gene">
...
</table>
$('#myTable').DataTable({
responsive: true
});
PC view:
Mobile view:
No errors in the console