michael-d
9/11/2017 - 1:27 AM

Wrap all tables in a div to allow horizontal scrolling on mobile devices - CSS AND JS

Wrap all tables in a div to allow horizontal scrolling on mobile devices - CSS AND JS

<script type="text/javascript">
$(document).ready(function() {
                $('.contentCopy table').wrap('<div class="tableWrap" />');
});
</script>
.tableWrap {
  width: 100%;
  overflow-x: auto;
}