From eed442f0a3bc5d755f540c2b2cbfb2d94fc9d1ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 24 Dec 2023 23:43:10 +0100 Subject: [PATCH] column description alignment: center --- templates/stats_table.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/stats_table.html b/templates/stats_table.html index a73c882..b40e090 100644 --- a/templates/stats_table.html +++ b/templates/stats_table.html @@ -114,7 +114,7 @@ var table_{{div_id}} = new Tabulator("#table-{{div_id}}", { {title: "Player", field: "name", formatter: "link", formatterParams:{ urlPrefix: "/player/", }}, - {title: "No Variant", columns: [ + {title: "No Variant", headerHozAlign: "center", columns: [ {title: "ELO", field: "novar_rating"}, {title: "Rank", field: "novar_rank"}, {title: "Games", field: "novar_games_played"}, @@ -122,7 +122,7 @@ var table_{{div_id}} = new Tabulator("#table-{{div_id}}", { {title: "Streak", field: "novar_cur_streak"}, {title: "Max Streak", field: "novar_max_streak"}, ]}, - {title: "Clue Starved", columns: [ + {title: "Clue Starved", headerHozAlign: "center", columns: [ {title: "ELO", field: "cs_rating"}, {title: "Rank", field: "cs_rank"}, {title: "Games", field: "cs_games_played"},