diff --git a/smash/web/static/js/smash.js b/smash/web/static/js/smash.js index a82e85dfbf84a19d03d82f8f6a003e1b932377c1..c41cb5cdfbb5ecd8863dd28cc97ee8f2e2d77b46 100644 --- a/smash/web/static/js/smash.js +++ b/smash/web/static/js/smash.js @@ -365,7 +365,6 @@ function createTable(params) { columns: columns, columnDefs: columnDefs, order: [[0, 'desc']], - scrollX: true, dom: dom_settings //see docs: https://datatables.net/reference/option/dom }); diff --git a/smash/web/templates/subjects/index.html b/smash/web/templates/subjects/index.html index c6298a85434fd7e7d6963a4ac20f9151778ae8f4..ade990303d5df7f4c05ec6dcc62a25aa184d929f 100644 --- a/smash/web/templates/subjects/index.html +++ b/smash/web/templates/subjects/index.html @@ -4,6 +4,11 @@ {% block styles %} {{ block.super }} <link rel="stylesheet" href="{% static 'AdminLTE/plugins/datatables/dataTables.bootstrap.css' %}"> + <style type="text/css"> + .box-body { + overflow-x: scroll; + } + </style> {% endblock styles %}