Skip to content

Commit

Permalink
improve team margin
Browse files Browse the repository at this point in the history
  • Loading branch information
bmesuere committed Mar 16, 2024
1 parent 09ef5ef commit e2aef69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data/data.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const races = allData.matches.map(race => ({ id: race.id, order: race.weekId, na
const pastRaces = races.filter(race => new Date(race.date) < Date.now());

// extract teams
const teams = allData.clubs.map(team => ({ id: team.id, name: team.name }));
const teams = allData.clubs.map(team => ({ id: team.id, name: team.name.split(" - ").slice(0, 2).join(" - ") }));

// extract riders
const riders = allData.players.map(rider => {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const teamFilter = Generators.input(teamFilterSelect);
function byTeam({width} = {}) {
return Plot.plot({
title: "🚴 Welk team scoorde het best?",
marginLeft: 180,
marginLeft: 140,
width,
height: 700,
grid: false,
Expand Down

0 comments on commit e2aef69

Please sign in to comment.