column description alignment: center

This commit is contained in:
Maximilian Keßler 2023-12-24 23:43:10 +01:00
parent 8c29d0ddc0
commit eed442f0a3
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -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"},