From 052a9142eb7f75d5eaf3c89b7b2191c22397db48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Mon, 25 Dec 2023 00:06:43 +0100 Subject: [PATCH] change table mode --- templates/stats_table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/stats_table.html b/templates/stats_table.html index ca8a343..da17179 100644 --- a/templates/stats_table.html +++ b/templates/stats_table.html @@ -106,7 +106,7 @@ var table_{{div_id}} = new Tabulator("#table-{{div_id}}", { {% macro player_table_js(data, div_id) %} var table_{{div_id}} = new Tabulator("#table-{{div_id}}", { data: {{data}}, - layout: "fitDataStretch", + layout: "fitDataTable", initialSort: [ {column: "name", dir: "asc"}, ],