Skip to content

Commit

Permalink
FE: stats: making 'by category' columns wider
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelhillesheim committed Jan 19, 2025
1 parent efc0f89 commit f76e584
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ const killCategoryColumn = (): ColumnDef<Player | PlayerWithStatus> => {
const {t} = useTranslation('game')
return <div>{t('playersTable.killsByCategory')}</div>
},
size: 100,
size: 125,
cell: ({row}) => {
const player = row.original;
return <WeaponTypeBar totalKills={player.kills} killsByType={player.kills_by_type}/>;
Expand All @@ -310,7 +310,7 @@ const deathCategoryColumn = (): ColumnDef<Player | PlayerWithStatus> => {
const {t} = useTranslation('game')
return <div>{t('playersTable.deathsByCategory')}</div>
},
size: 100,
size: 125,
cell: ({row}) => {
const player = row.original;
return <WeaponTypeBar totalKills={player.deaths} killsByType={player.deaths_by_type}/>;
Expand Down

0 comments on commit f76e584

Please sign in to comment.