Tweaked datatable a bit

This commit is contained in:
Andreas Kristiansen
2025-10-28 10:58:57 +01:00
parent 944d0d2a1e
commit c19d85bfe0

View File

@@ -1,4 +1,4 @@
<h1><?= $page_title ?></h1>
<h2><?= $page_title ?></h2>
<?php if (!empty($locations)): ?>
<div class="table-responsive mt-3">
@@ -88,8 +88,8 @@
$('.table').DataTable({
"pageLength": 25,
responsive: false,
ordering: false,
"scrollY": "400px",
ordering: true,
"scrollY": window.innerHeight - 250,
"scrollCollapse": true,
"paging": false,
"scrollX": true,